[issue7575] tes_math fails Mac OS X 10.4 due to OverflowError in test_mtestfile

Mark Dickinson report at bugs.python.org
Thu Dec 24 20:15:51 CET 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

Thanks for that.  I'd call that pretty broken then:  the result of 
expm1(709.78) is effectively wrong by 24.4 trillion ulps (perhaps that 
should be 24.4 teraulps?).  I guess someone just coded a hard cutoff value 
somewhere between 709.7 and 709.78.

But since anyone getting this close to overflow is asking for trouble 
anyway, perhaps the easiest solution is just to change the test to test a 
value not quite as close to the overflow boundary.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7575>
_______________________________________


More information about the Python-bugs-list mailing list