Floating point

bitwAttb bitwisetech at attbi.com
Mon Dec 16 15:47:56 UTC 2002


Hello,

 Executing this in a workspace on my machine returns 'false' incorrectly  
..

( ( 1.1 + 1.1 + 1.1) / 3.0) = ( ( 1.1 + 1.1 + 1.1 + 1.1 + 1.1 + 1.1  ) / 
6.0 )

The inspector suggests a discrepancy in the LSB of field '2' of the floats. 
 I  got the same error in 3.2-4956 image and in 3.4B.    An Athlon 900. Thanks 
 for any hints,
Paul Lakin
 -- bitwAttb



More information about the Squeak-dev mailing list