From: <
codesite-noreply@google.com>
Date: Thu, Jun 12, 2008 at 3:16 AM
Subject: Comment on BrokenTests in pharo
To:
pharo.smalltalk@gmail.comComment by andreas.raab:
3.9 has a different manifest bit pattern for NaN than Pharo. Try this:
Float nan hex "<print it>"
3.9: '7FF8000000000000'
Pharo: 'FFF8000000000000'
It looks like 3.9 was initialized on PPC, Pharo on Intel. Since there is an infinite number of NaN bit patterns the real solution is to use a manifest binary constant in Float initialization, i.e,
Float class>>initialize
"..."
NaN := Float with: 16rFFF80000 with: 0.
instead of the computation that is in there today.
For more information:
http://code.google.com/p/pharo/wiki/BrokenTests