My apologies if this message is forwarded to the list twice.
Victor Rodriguez.
---------- Forwarded message ----------
From: <[EMAIL PROTECTED]>
Date: Wed, Jun 11, 2008 at 12:05 PM
Subject: Comment on BrokenTests in pharo
To: [EMAIL PROTECTED]
Comment by oscar.nierstrasz:
FloatTests>>#testNaN5 currently reads as follows:
{{{
testNaN5
"self assert: (Float nan asIEEE32BitWord printPaddedWith: $0 to: 32
base: 2) =
'01111111110000000000000000000000'."
...
}}}
I believe this is over-specified. Instead it should just read as follows:
{{{
testNaN5
self assert:
((Float nan asIEEE32BitWord printPaddedWith: $0 to: 32 base:
2) copyFrom: 2 to: 9) =
'11111111'.
...
}}}
This would be consistent with the NaN spec (according to wikipedia).
However it does not explain why these tests pass in 3.9 and 3.10. Have there
been changes in the VM to the way that Floats are represented?
For more information:
http://code.google.com/p/pharo/wiki/BrokenTests
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project