[squeak-dev] Re: Is there a better implementation of Floats?

Paolo Bonzini bonzini at gnu.org
Thu Apr 10 06:08:57 UTC 2008


Bernd Elkemann wrote:
>> If you really want Floating point operations (that is inexact) with 
>> more digits, I initiated the ArbitraryPrecisionFloat package at 
>> http://www.squeaksource.com/ArbitraryPrecisionFl/ . You can download 
>> it using Monticello or SqueakMap (better use Monticello, the SqueakMap 
>> will point on an old version).
> 
> I think thats exactly what i need,
> thanks so much

Actually I'm sure it is not.  It will have exactly the same problems, 
they are less likely but cannot be magically solved: 0.1, 0.15, 0.2, 0.3 
are anyway periodic numbers in base-2.

Paolo



More information about the Squeak-dev mailing list