Float equality? (was: [BUG] Float NaN's)
rh at 4096.sk
Wed Sep 15 09:16:45 UTC 2004
On Wed, 15 Sep 2004, Doug Way wrote:
> On Tuesday, September 14, 2004, at 11:22 PM, Richard A. O'Keefe wrote:
> > ...
> > >This does not require the use of a Float. In Smalltalk I'd use
> > either a
> > >Fraction or a ScaledDecimal.
> > Unfortunately, there is no ScaledDecimal class in Squeak.
> Some good news for Richard: ScaledDecimal was added to Squeak 3.7.
> (which is now being released)
Is that the version from ANSI compatibility package? If yes, it's buggy -
try for example to inspect '1.40s2' asNumber (you get 1.39s2)
More information about the Squeak-dev