[Python-bugs-list] [ python-Bugs-459464 ] Math_test overflowerror on sparc64 linux
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 07 Sep 2001 02:58:44 -0700
Bugs item #459464, was opened at 2001-09-07 02:34
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=459464&group_id=5470
>Category: Extension Modules
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Tim Peters (tim_one)
Summary: Math_test overflowerror on sparc64 linux
Initial Comment:
Traceback(most recent call last):
testit('asin(-1)',math.asin(-1),-math.pi/2)
OverflowError: math range error
----------------------------------------------------------------------
>Comment By: Tim Peters (tim_one)
Date: 2001-09-07 02:58
Message:
Logged In: YES
user_id=31435
Needs more info.
Which version of Python?
If you try asin(-1) in a C program on this box, does the
math library set errno? If so, it's a platform C bug, and
you should report it to your C vendor (Python doesn't do
anything with asin except call the platform asin, and if
that sets errno to ERANGE, Python raises OverflowError; asin
(-1) should not set errno to ERANGE, but if it does there's
nothing Python can do about that).
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=459464&group_id=5470