This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | vstinner |
|---|---|
| Recipients | vstinner |
| Date | 2010年11月06日.11:03:53 |
| SpamBayes Score | 0.0015378955 |
| Marked as misclassified | No |
| Message-id | <1289041435.79.0.181491237155.issue10337@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
On "NetBSD 5 i386 3.x" buildbot, testTanh() of test_math fails because the sign of wrong. configure scripts has a test to check if tanh(-0.0) keeps the sign or no, and on this buildbot the result is "no". pyconfig.h contains a TANH_PRESERVES_ZERO_SIGN define, but it is not used in Modules/mathmodule.c. Extract of configure comment: # On FreeBSD 6.2, it appears that tanh(-0.) returns 0. instead of # -0. on some architectures. --- http://www.python.org/dev/buildbot/builders/NetBSD%205%20i386%203.x/builds/237/steps/configure/logs/stdio ... checking whether tanh preserves the sign of zero... no ... http://www.python.org/dev/buildbot/builders/NetBSD%205%20i386%203.x/builds/237/steps/test/logs/stdio ====================================================================== FAIL: testTanh (test.test_math.MathTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/buildbot/buildarea/3.x.smith-netbsd-i386/build/Lib/test/test_math.py", line 898, in testTanh math.copysign(1., -0.)) AssertionError: 1.0 != -1.0 ---------------------------------------------------------------------- |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010年11月06日 11:03:56 | vstinner | set | recipients: + vstinner |
| 2010年11月06日 11:03:55 | vstinner | set | messageid: <1289041435.79.0.181491237155.issue10337@psf.upfronthosting.co.za> |
| 2010年11月06日 11:03:54 | vstinner | link | issue10337 messages |
| 2010年11月06日 11:03:53 | vstinner | create | |