commit | 3fa19d7ff89be87139e2864fb9186b424d180a58 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Tue Aug 31 01:05:15 2004 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Tue Aug 31 01:05:15 2004 +0000 |
tree | 1bae30d89763729e548907895cb89c8ca995b69a | |
parent | daec961e091b76b1329077f505aa8db92a027002 [diff] |
Take advantage of the math library's ldexp for assembling a float by components without division and without roundoff error for properly sized mantissas (i.e. on systems with 53 or more mantissa bits per float). Eliminates the previous implementation's rounding bias as aptly demonstrated by Tim Peters.