Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: return status of let with floats
- X-seq: zsh-workers 18014
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: return status of let with floats
- Date: Wed, 18 Dec 2002 18:26:15 +0100
- In-reply-to: <9124.1040230364@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <9124.1040230364@xxxxxxx>
- Sender: kiddleo@xxxxxxxxxx
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author