From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7746 invoked from network); 18 Dec 2002 17:24:43 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 18 Dec 2002 17:24:43 -0000 Received: (qmail 22876 invoked by alias); 18 Dec 2002 17:24:38 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 18014 Received: (qmail 22868 invoked from network); 18 Dec 2002 17:24:37 -0000 X-VirusChecked: Checked X-Env-Sender: kiddleo@logica.com X-Msg-Ref: server-10.tower-4.messagelabs.com!1040232249!36964 X-Authentication-Warning: iris.logica.co.uk: Host [158.234.142.11] claimed to be finches.logica.co.uk In-reply-to: <9124.1040230364@csr.com> From: Oliver Kiddle References: <9124.1040230364@csr.com> To: zsh-workers@sunsite.dk Subject: Re: PATCH: return status of let with floats Date: Wed, 18 Dec 2002 18:26:15 +0100 Message-ID: <1808.1040232375@finches.logica.co.uk> Sender: kiddleo@logica.com On 18 Dec, Peter wrote: > more consistent and useful. I don't have a ksh which handles floating > point to try out, unfortunately. ksh93> (( 0.3 )) && echo yup yup So it looks like your change is consistent with it. All of bash, pdksh and ksh 88/93 output 0 for `echo $(( ))' by the way while zsh gives a bad math expression error so that should perhaps also be changed. Oliver This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.