[Anthony Baxter] > ... > Linux/sparc Debian 2.2 (cf.sf.net) FAILED > This is scary. I don't know why this one alone fails - it fails the > test_math test. > > Running the test by hand: > anthonybaxter@usf-cf-sparc-linux-1:~/python212_linxsparc$ > PYTHONPATH= ./python ./Lib/test/test_math.py > math module, testing with eps 1e-05 > constants > acos > Traceback (most recent call last): > File "./Lib/test/test_math.py", line 21, in ? > testit('acos(-1)', math.acos(-1), math.pi) > OverflowError: math range error > > Running math.acos(-1) gives the correct answer. Anyone got any idea? Sorry, not short of stepping into mathmodule.c under a debugger. The only interesting thing about that test is that math.acos(-1) is the very first call test_math.py makes to the platform libm. Perhaps if you commented it out, you'd get a bogus OverflowError from testit('acos(0)', math.acos(0), math.pi/2) on the following line.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4