[Python-Dev] Re: Decimal type question [Prothon]

Tim Peters tim.peters at gmail.com
Mon Aug 9 18:05:01 CEST 2004


[Raymond Hettinger]
> FWIW, Lua used floating point for everything.  With integers upto 53
> bits being represented exactly, everything works out fine.  Plus is has
> a nice side effect of simplifying the language and underlying code.

Perl also does, although it later added an actual integer type too. 
It doesn't help with 0.1 not being equal to one-tenth, etc.


More information about the Python-Dev mailing list