Float question
Bert Freudenberg
bert at freudenbergs.de
Sat Oct 6 23:51:34 UTC 2007
On Oct 7, 2007, at 1:35 , Ralph Johnson wrote:
> "Float nan = Float nan" is false. Is it supposed to be false? I
> suppoes the rule could be that NaN is not equal to anything, even
> itself.
Correct. That's what IEEE specifies IIRC.
> "Float nan == Float nan" is true.
It's the same object.
Is this causing problems anywhere?
- Bert -
More information about the Squeak-dev
mailing list
|