[Python-Dev] Floating-point implementations

Lie Ryan lie.1296 at gmail.com
Tue Dec 9 22:48:38 CET 2008


On Tue, 09 Dec 2008 12:15:53 -0500, Steve Holden wrote:

> Is anyone aware of any implementations that use other than 64-bit
> floating-point? I'd be particularly interested in any that use greater
> precision than the usual 56-bit mantissa. Do modern 64-bit systems
> implement anything wider than the normal double?
> 
> regards
>  Steve

Why don't we create a DecimalFloat datatype which is a variable-width 
floating point number. Decimal is variable precision fixed-point number, 
while the plain ol' float would be system dependent floating point.



More information about the Python-Dev mailing list