Phil Steitz wrote:
Yes, you are correct about the IEEE 745 spec, but one could argue that the spec applies only to primitive values - at least that seems to be the way it works in Java. Since equals among objects in Java *must* be reflexive,

Ok, this makes sense.


Before the change, "0 + NaN * i" was not equal to "NaN + i" for example,

It can be argued this is correct behaviour, while:

wheras "isNaN" returns true for both.

this may be misleading (although still correct).

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to