Messages in this thread | | | Subject | Re: 2.0.30 | Date | Mon, 10 Mar 1997 20:48:17 EST | From | Maciej Stachowiak <> |
| |
Mirrashar Lenashri <palin@lance.ij.net> wrote: >>An obvious one: >> >>2 / 1 / 0 == 2 / 0 / 30 > ^^^^^ ^^^ >Actually, anything divided by zero is undefined; you can't divide anything >zero ways. So, in essence, 2/1/0 does not equal 2/0/30, as undefined is.. >err, wait, I guess they are equal. Never mind.
Actually, under IEEE 754 semantics, both are equal to NaN, but NaN is never equal to anything, including itself, so IEEE says they are not equal. :-)
- Maciej Stachowiak
| |