Meaning of Float>>closeTo:
Damien Cassou
damien.cassou at gmail.com
Fri Mar 2 11:55:29 UTC 2007
Hi,
I would like to know what is the exact meaning of #closeTo:.
999999 closeTo: 999899.00011. => true
999999 closeTo: 999899.0001. => false
Is it a bug ? Is it a problem with how computer deal with floating
point numbers ?
--
Damien Cassou
More information about the Squeak-dev
mailing list
|