Mark Dickinson <dicki...@gmail.com> added the comment: I've replaced the fabs(x) / 1e25 >= 1e25 test with fabs(x) >= 1e50 in r70678. On IEEE 754 systems, assuming round-to-nearest, these two tests have identical meaning.
I've also fixed the docs, replacing 1e25 by 1e50. Is there a good reason for '%.100f'% 1e49 to raise OverflowError (rather than providing the requested 100 places after the decimal point), other than implementation convenience? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue532631> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com