summaryrefslogtreecommitdiffstats
path: root/Python/exceptions.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-08-31 01:05:15 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-08-31 01:05:15 (GMT)
commit3fa19d7ff89be87139e2864fb9186b424d180a58 (patch)
tree1bae30d89763729e548907895cb89c8ca995b69a /Python/exceptions.c
parentdaec961e091b76b1329077f505aa8db92a027002 (diff)
downloadcpython-3fa19d7ff89be87139e2864fb9186b424d180a58.zip
cpython-3fa19d7ff89be87139e2864fb9186b424d180a58.tar.gz
cpython-3fa19d7ff89be87139e2864fb9186b424d180a58.tar.bz2
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.
Diffstat (limited to 'Python/exceptions.c')
0 files changed, 0 insertions, 0 deletions