Brian Moon wrote:
According to my memory of Please My Dear Aunt Sally these should be:

-1/2*5 = -.1
1/-2*5 = -.1
1/2*-5 = -.1

So, that is bad if PHP answers that way. Someone please correct me if my memory is wrong. Is there some rule that negative values should be done first before positive values?

My memory was corrected off list. Thanks. Stupid teachers and their mnemonics.

But, still, PHP is wrong on 1/-2*5 no?

--

Brian Moon
Senior Developer
------------------------------
http://dealnews.com/
It's good to be cheap =)

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to