summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2008-04-21 22:32:24 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2008-04-21 22:32:24 (GMT)
commit265d7384b9e9cd32630ae28b05f04c1bc4fd9133 (patch)
tree67ceaf50b6965d456cfc60bf1bdb9a69e322f30a /pyconfig.h.in
parent41e30183367e52450fdf7316cf32bfa4e9a78afc (diff)
downloadcpython-265d7384b9e9cd32630ae28b05f04c1bc4fd9133.zip
cpython-265d7384b9e9cd32630ae28b05f04c1bc4fd9133.tar.gz
cpython-265d7384b9e9cd32630ae28b05f04c1bc4fd9133.tar.bz2
test_math and test_cmath are failing on the FreeBSD 6.2 trunk buildbot,
apparently because tanh(-0.) loses the sign of zero on that platform. If true, this is a bug in FreeBSD. Added a configure test to verify this. I still need to figure out how best to deal with this failure.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 425ebee..8c9fd16 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -921,6 +921,9 @@
(which you can't on SCO ODT 3.0). */
#undef SYS_SELECT_WITH_SYS_TIME
+/* Define if tanh(-0.) is -0., or if platform doesn't have signed zeros */
+#undef TANH_PRESERVES_ZERO_SIGN
+
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME