From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24838 invoked from network); 27 Mar 2022 22:27:23 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 27 Mar 2022 22:27:23 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1648420043; b=gMQhe4dTvIupxn6Zy4yE8PYLtmGRbMl3N1wlCrC65ZeZ2/LbAtn2y50ULxTiVEaPFgIgWHFVs2 vmNnkTp+RbQgn0cZ6G0Yr6qKxx8Dq6JqqvfepdWKpw/L1ITW7tGSupwecgJndFsl30gaNACzfk 9unFgoDz8ruYI5tAPUy3CpyuCkR9IrmOC+sEo1YgDqCRBelMMArHGfejPHJSfODPlbbL4rW8ae RJGq8g3daEK7UW+DFujliNAGCahq2OPwxjZ+vZG7XbwQzu8sAh7Wc4nICI0JFy6nh6CI83Clo6 zZqU7Gv4I+itDXVKXl1eEhyL4ROpl3nFGlApJfrkv5HUJg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lf1-f43.google.com) smtp.remote-ip=209.85.167.43; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1648420043; bh=HOrdgRBfS9lP03CzWUHh+vMlT0Hke/0D2nfB0KK4jaw=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=DU9j0C2JCmzkJ7O7ESPtpG0n+j9a90E2btM8Vw6aB/O5nFq1Gh+rKsjWojUzoQfMEgh2JJOMGR /sz5JKSpEK+XpnyFARaOpacxH3VR3VSORglV/2w6jQyP6eVQ+qy4kJK8GEmPz71mA3rh55GfV7 MmmSRpB1FMouIGj9+Y4QTJuw8KswF9M4l6DIeI69wKDb7SkAMt/KJF2TkErIWW12hdtZEtRf+v RX/Grh3yuUgG2KJ7SBI2yi5U10Q5tCH4Qmj+2LP0wRpQ3qUNcFBFThNs7HPVP8CoGk2Vcj3zWw 08+nEassMpQ0DnRNowE5rXphy5DJKt5Hix/t4Zvqxt3gaw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=OntWBklrd1EN26iiyJgmgtx+JXhx0pdkdJnN3g+BN4k=; b=HjO4mGLwtsEl+AzDtEdlsGSe7q vihVpLltJYGTLE7Gdb0YEpxB6Bx6aaZpX+Y6ngP0bgfWLjPQWhVoomuE1fEZcL2Ugznu++1AAhvxS Pa7AoZu84IMcT2wYAMo1tjCyqUGtdT62R2VTD8bajaEYgI7MyrT2HLtowkj5LqoyYEa9ucz9r2jlC gNRWEKgtLnJgv5Qd8KFxXaaax/s7h78ENngpZi5fD5BwNENZwsHu1y70TWEEAi8XnwowI1ct5mqB0 pTeqorDsP0tV38FK+qxjue/AKV4KC8filyVX7l9r9ifPKc53BPDCoBGzwYHw36pz7q6IZ4TRioq1w qhUqf48A==; Received: from authenticated user by zero.zsh.org with local id 1nYbLx-000FXC-RZ; Sun, 27 Mar 2022 22:27:17 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lf1-f43.google.com) smtp.remote-ip=209.85.167.43; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-lf1-f43.google.com ([209.85.167.43]:44931) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1nYbLg-000FE6-82; Sun, 27 Mar 2022 22:27:01 +0000 Received: by mail-lf1-f43.google.com with SMTP id m3so21767349lfj.11 for ; Sun, 27 Mar 2022 15:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=OntWBklrd1EN26iiyJgmgtx+JXhx0pdkdJnN3g+BN4k=; b=1VzdquupM4K0stP+ZQlJaI8gRpFcNuzAtY0NrLnanNwFlBckIiIznkSIKaWregtNkJ fZJ3GD5yl9DvHKAZm5hZXCHWV2L6mSc64e3CNfnUGhr3PlHBr9DbQnZieaG4ZmLoThwy QKW/4kRo3xnYLBwzs19uTBrECANQCyzQzxC7IWwwzD4H3c9oG/kQd71f9XqYQx9k4CQm q4yfWtGVuj6Ibtz0HY/1QfhhAQlf7EkQ4QWTkmmsgAdTsnloQ2I6uGoxHa8ygJvt7JFi loOhi6P9Zj75tmqCPqNk6dClBORmC4PUfAxOGF2q0Np1lSZsKPSUG9iWfAzKewPtZuvF oFTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=OntWBklrd1EN26iiyJgmgtx+JXhx0pdkdJnN3g+BN4k=; b=ZxDWjbgDi7vAQ0HyA2ccGTRMD0Gw4l8ZrkLHwABOJ2E34cdeGP3xdtsTlh0fmIOfu7 dFTZO6n72slxkZV0hlPtRR9prbmsbgx4Fx9124z6/hhPw6PCs6QLiVvVQhu9EDNbd7+r dGECgoLWn+oSoy+uAz2H358ddTRAnBG2PpGMLe8ZI9pkoULt4F/q9eREnNfABWMMMPoq RlHm96ZeelM9I3jQDO4isur9G35Ry6al5KZqAjYHmgP2eQIod3UVp5f+o9H3IaTvkqwI ZzoSglWiieeAtUVXM32P7K33+Gx2KHP9Z6n8BYBj5pqQmF/xYzhPqx6E5fR+kVPC0oxI P1Xg== X-Gm-Message-State: AOAM531Cep4Z0ay+H8XsvVLdxJ+Akb1QmRuPD3Ic6pYKMDYgpNyqE7VV Df4L8IC3G2vvPoHKVYXVFhDT6AqMDORmvso0jLrdJG9/S7M= X-Google-Smtp-Source: ABdhPJzHHI2jgG27oVY8iMOZT1kFqtbF70yl5SoHbQTLwz+dprBj3MgySFSSH3bFDhactbCBpK2HtKe3ejYwvVnQqJA= X-Received: by 2002:ac2:418c:0:b0:43e:8f98:98f0 with SMTP id z12-20020ac2418c000000b0043e8f9898f0mr17703711lfh.604.1648420013835; Sun, 27 Mar 2022 15:26:53 -0700 (PDT) MIME-Version: 1.0 References: <20220323163646.GB1190496@cventin.lip.ens-lyon.fr> <20220327082652.fg6uef5munymssm6@chazelas.org> In-Reply-To: <20220327082652.fg6uef5munymssm6@chazelas.org> From: Bart Schaefer Date: Sun, 27 Mar 2022 15:26:42 -0700 Message-ID: Subject: Re: floating-point precision and zsh vs ksh93 and coreutils To: Zsh hackers list Content-Type: text/plain; charset="UTF-8" X-Seq: 49898 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On Sun, Mar 27, 2022 at 1:27 AM Stephane Chazelas wrote: > > See the discussion around workers/45106 (to which you > contributed) about how to reduce the display artefacts Vincent's final contribution to that discussion was a link to the dtoa() implementation in C by D.Gay ... which just for comparison is more than 6000 lines of code or about 4% the size of the entire zsh C code at the time I write this.