need for binary floats (except performance)?

Grant Edwards grante at
Mon Jan 31 23:29:13 EST 2005

On 2005-02-01, kartik <kartik_vad at> wrote:

> Since the Decimal type can represent any given fractional number
> exactly, including all IEEE binary floating-point numbers, wouldn't it
> be advisable to use Decimals for all floating point numbers (except
> possibly for performance)?

That's a pretty huge "except" for some applications.

Grant Edwards                   grante             Yow!  HUGH BEAUMONT died
                                  at               in 1982!!

More information about the Python-list mailing list