RELEASED: Python 2.2.1c1
Steven Majewski
sdm7g at Virginia.EDU
Tue Mar 19 11:30:19 EST 2002
On Mon, 18 Mar 2002, Skip Montanaro wrote:
...
> sinh
> sqrt
> tan
> tanh
> exceptions
> Traceback (most recent call last):
> File "Lib/test/test_math.py", line 195, in ?
> test_exceptions()
> File "Lib/test/test_math.py", line 192, in test_exceptions
> raise TestFailed("sqrt(-1) didn't raise ValueError")
> test_support.TestFailed: sqrt(-1) didn't raise ValueError
>
I got the same on my osx build.
Specifically: math.sqrt( -1 ) returns NaN.
When I do:
import fpectl
fpectl.turnon_sigfpe()
I get:
'Operation not implemented'
Are those two connected?
-- Steve Majewski
More information about the Python-list
mailing list