Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: return status of let with floats



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