Hello all,<div><br></div><div>test_math is currently failing on the Debian/alpha buildbots (trunk and py3k).</div><div>I've been trying, unsuccessfully, to figure out what's going wrong, and I'm</div><div>starting to run out of ideas, so I thought I'd ask the list for help to see if</div>
<div>anyone has any useful suggestions.</div><div><br></div><div>Details of the failure: running the following code:</div><div><br></div><div>from math import log</div><div>ar = 9.88e-324</div><div>x = log(ar)</div><div>
<br></div><div>produces:</div><div><br></div><div>ValueError: math domain error<br></div><div><br></div><div>Somehow, it looks like errno is getting set to something nonzero in</div><div>math_1_from_whatever in mathmodule.c, but I really can't figure out</div>
<div>how.</div><div><br></div><div>I've tried adding '-mieee' to the gcc compile flags, and I've added a bunch</div><div>of autoconf tests to verify that log(9.88e-324) succeeds, produces</div><div>roughly the right result, and doesn't set errno to anything nonzero. </div>
<div>All the autoconf tests that should pass do. So I can't find anything</div><div>wrong with the libm implementation of log.</div><div><br></div><div>test_math is fine on Tru64/alpha.</div><div><br></div><div>Does anyone have access to a Linux/alpha machine, and a few minutes</div>
<div>to figure out exactly what's failing? Or any suggestions about what might</div><div>be failing. I'm open to wild ideas at this point... :-)</div><div><br></div><div>Mark</div><div><br></div>