[issue1496032] test_float segfaults with SIGFPE on FreeBSD 6.0 / Alpha

Mark Dickinson report at bugs.python.org
Tue Apr 29 19:34:07 CEST 2008


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

Adding -mieee didn't fix the math and cmath problems.  Should I revert 
the change in r62499, or leave it in?  It seems to me that having -mieee 
is a good thing on the whole.  The main reason to not want IEEE 754 
conformance would be speed.

It looks like the math and cmath failures are due to libm behaviour;  
either (1) libm is making no attempt to be IEEE compliant, or (2) it's 
setting errno in places that it shouldn't, or (3) it's trying to be IEEE 
compliant but is buggy.  I'm not sure how to proceed.  Would it be okay 
to check in some temporary autoconf tests to help identify the source of 
the failures, and remove them later?

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1496032>
_____________________________________


More information about the Python-bugs-list mailing list