This math scares me

Edward Jason Riedy ejr at
Tue Mar 13 23:10:08 CET 2001

And Andrew Koenig writes:
 - Briefly, IEEE requires that input and output conversion have no more
 - than 0.47 LSB error; Scheme requires that input conversion be exact
 - (that is, that the internal representation always be the closest
 - (according to the rounding rules currently in effect) internal number
 - to the infinite-precision value read, and that output yield the
 - smallest number of significant digits necessary for idempotence).

The next revision of IEEE 754 will require exact conversion, as
well.  However, note that there is no concept of a language
complying with IEEE 754, or even a library...  It's just a vague


More information about the Python-list mailing list