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

Re: arithmetic operator precedence



On Thu, Jun 19, 2008 at 11:58, Peter Stephenson <pws@xxxxxxx> wrote:


> That seems a good idea in any case.

Can you add that this is done to remain both backwards and shell-
compatible and that this is not what a 'real' language/calculator
will do? Perhaps even include a reference to the POSIX argument.

Personally, I still think it is better to be compatbile to accepted
math syntax than to the older/other implementations, but.. :)


Richard



Messages sorted by: Reverse Date, Date, Thread, Author