Float equality? (was: [BUG] Float NaN's)

Stephan Rudlof sr at evolgo.de
Wed Sep 15 21:49:04 UTC 2004


Jarvis, Robert P. (Bob) (Contingent) wrote:
> ...

> My choice, if I was given one, would be to get rid of floating point
> entirely and replace it with some form of unlimited-precision scaled
> decimal.

In which precision (10, 100 or ? digits) would you represent e.g. pi?
And what about sqrt(2)? Symbolic maths?

Greetings
Stephan

> ...
-- 
Stephan Rudlof (sr at evolgo.de)
   "Genius doesn't work on an assembly line basis.
    You can't simply say, 'Today I will be brilliant.'"
    -- Kirk, "The Ultimate Computer", stardate 4731.3



More information about the Squeak-dev mailing list