A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-April/078970.html below:

[Python-Dev] Debian/alpha test_math failures

[Python-Dev] Debian/alpha test_math failuresMark Dickinson dickinsm at gmail.com
Wed Apr 30 23:06:01 CEST 2008
Hello all,
test_math is currently failing on the Debian/alpha buildbots (trunk and
py3k).
I've been trying, unsuccessfully, to figure out what's going wrong, and I'm
starting to run out of ideas, so I thought I'd ask the list for help to see
if
anyone has any useful suggestions.

Details of the failure:  running the following code:

from math import log
ar = 9.88e-324
x = log(ar)

produces:

ValueError: math domain error

Somehow, it looks like errno is getting set to something nonzero in
math_1_from_whatever in mathmodule.c, but I really can't figure out
how.

I've tried adding '-mieee' to the gcc compile flags, and I've added a bunch
of autoconf tests to verify that log(9.88e-324) succeeds, produces
roughly the right result, and doesn't set errno to anything nonzero.
All the autoconf tests that should pass do.  So I can't find anything
wrong with the libm implementation of log.

test_math is fine on Tru64/alpha.

Does anyone have access to a Linux/alpha machine, and a few minutes
to figure out exactly what's failing?  Or any suggestions about what might
be failing.  I'm open to wild ideas at this point... :-)

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20080430/abd62b60/attachment.htm>
More information about the Python-Dev mailing list

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