[Python-Dev] Re: Decimal type question [Prothon] (original) (raw)
Tim Peters tim.peters at gmail.com
Mon Aug 9 18:05:01 CEST 2004
- Previous message: [Python-Dev] Re: Decimal type question [Prothon]
- Next message: [Python-Dev] Decimal type question [Prothon]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[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.
- Previous message: [Python-Dev] Re: Decimal type question [Prothon]
- Next message: [Python-Dev] Decimal type question [Prothon]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]