Float bug toolkit: what the hash is this?

Tim Olson tim at jumpnet.com
Mon Feb 16 23:04:02 UTC 1998


>In any of the examples, an attempt to print an infinity seems to cause
>Squeak to run amuck. It's the printing that is causing the low memory
>condition.
>
>
>Squeak needs to properly support IEEE floating point. As a start it should
>at least add tests for Infinity+, infinity-, NAN, and maybe gradual
>underflow.

See the latest version (1.31):

     isNaN     "tests for Not-A-Number"
     isInf     "tests for +/- Infinity"

Float printing now handles IEEE-754 NaN's, Inf's, and denorms without 
blowing up.



     -- tim





More information about the Squeak-dev mailing list