[squeak-dev] Re: FloatTest >> testNaN5

Michael Haupt mhaupt at gmail.com
Thu Jul 30 11:44:23 UTC 2009


Hi again,

On Thu, Jul 30, 2009 at 1:38 PM, Michael Haupt<mhaupt at gmail.com> wrote:
> Looking at IEEE 754, it seems that, for NaN, that very bit may either
> be 0 or 1 - so both would be correct.

sorry about this... more correctly stated, the above should read as follows.

Looking at IEEE 754, it seems that, for NaN, the following bit mask
would be correct (x means any of 0 or 1):
'x111111111xxxxxxxxxxxxxxxxxxxxxx' - at least for a quiet
(non-signalled) NaN.

I suspect Squeak intentionally generates a quiet NaN.

Again, comments?

Best,

Michael



More information about the Squeak-dev mailing list