From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20119 invoked from network); 11 Jan 2002 00:36:54 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 11 Jan 2002 00:36:54 -0000 Received: (qmail 21622 invoked by alias); 11 Jan 2002 00:36:48 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16429 Received: (qmail 21609 invoked from network); 11 Jan 2002 00:36:46 -0000 To: zsh-workers@sunsite.dk Path: not-for-mail From: Geoff Wing X-Newsgroups: lists.zsh.workers Subject: Re: PATCH: floating point output Date: Fri, 11 Jan 2002 00:36:39 +0000 (UTC) Organization: PrimeNet Computer Consultants Message-ID: References: <27391.1010584552@csr.com> Reply-To: mason@primenet.com.au NNTP-Posting-Host: localhost.primenet.com.au X-Trace: coral.primenet.com.au 1010709399 20083 127.0.0.1 (11 Jan 2002 00:36:39 GMT) X-Complaints-To: usenet@coral.primenet.com.au NNTP-Posting-Date: Fri, 11 Jan 2002 00:36:39 +0000 (UTC) User-Agent: slrn/0.9.7.3 (NetBSD) Peter Stephenson typed: : I just noticed: : (( A = 1.2e12 )) : print $A : prints `1200000000000', with no decimal point. ... : This might : simply be an effect of the Solaris sprintf() implementation. ... Presumably. Just for general interest sake, from my Zsh built the day before this patch (on non-Solaris): % (( A = 1.2e12 )) % print $A 1200000000000.0000000000 % (( A = 1.0000 )) % print $A 1.0000000000 Regards, -- Geoff Wing : Rxvt Stuff : Zsh Stuff :