Re: Re: power operator (again)
| From: | Sanford Whiteman | Date: | Thu, 19 Dec 2013 22:07:07 +0000 |
| Subject: | Re: Re: power operator (again) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-70768@lists.php.net to get a copy of this message | ||
> I did sqr(-3) in the Windows Calculator just now and it outputted 9,
> not -9.
In this situation, you are forcing the order of operations based on
rules of the UI and/or parentheses. That's not the same as deciding
the natural associativity of the exponent.
-- Sandy