summaryrefslogtreecommitdiffstats
path: root/Lib/test/cmath_testcases.txt
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-11-20 11:08:27 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-11-20 11:08:27 (GMT)
commit4ccc137affe960741c3f6758ce00277d15409665 (patch)
tree9f3eb0388baf48bca4d17a96779c371c16b308af /Lib/test/cmath_testcases.txt
parent6646cd45be26c532a1152cea6a6e0ba27838c645 (diff)
downloadcpython-4ccc137affe960741c3f6758ce00277d15409665.zip
cpython-4ccc137affe960741c3f6758ce00277d15409665.tar.gz
cpython-4ccc137affe960741c3f6758ce00277d15409665.tar.bz2
Issue #9920: Skip tests for cmath.atan and cmath.atanh applied to
complex zeros on systems where the log1p function fails to respect the sign of zero. This fixes a test failure on AIX.
Diffstat (limited to 'Lib/test/cmath_testcases.txt')
-rw-r--r--Lib/test/cmath_testcases.txt18
1 files changed, 10 insertions, 8 deletions
diff --git a/Lib/test/cmath_testcases.txt b/Lib/test/cmath_testcases.txt
index ce03232..9b08653 100644
--- a/Lib/test/cmath_testcases.txt
+++ b/Lib/test/cmath_testcases.txt
@@ -733,10 +733,11 @@ asinh1036 asinh -inf inf -> -inf 0.78539816339744828
---------------------------
-- zeros
-atan0000 atan 0.0 0.0 -> 0.0 0.0
-atan0001 atan 0.0 -0.0 -> 0.0 -0.0
-atan0002 atan -0.0 0.0 -> -0.0 0.0
-atan0003 atan -0.0 -0.0 -> -0.0 -0.0
+-- These are tested in testAtanSign in test_cmath.py
+-- atan0000 atan 0.0 0.0 -> 0.0 0.0
+-- atan0001 atan 0.0 -0.0 -> 0.0 -0.0
+-- atan0002 atan -0.0 0.0 -> -0.0 0.0
+-- atan0003 atan -0.0 -0.0 -> -0.0 -0.0
-- values along both sides of imaginary axis
atan0010 atan 0.0 -9.8813129168249309e-324 -> 0.0 -9.8813129168249309e-324
@@ -896,10 +897,11 @@ atan1040 atan -inf -inf -> -1.5707963267948966 -0.0
---------------------------------------
-- zeros
-atanh0000 atanh 0.0 0.0 -> 0.0 0.0
-atanh0001 atanh 0.0 -0.0 -> 0.0 -0.0
-atanh0002 atanh -0.0 0.0 -> -0.0 0.0
-atanh0003 atanh -0.0 -0.0 -> -0.0 -0.0
+-- These are tested in testAtanhSign in test_cmath.py
+-- atanh0000 atanh 0.0 0.0 -> 0.0 0.0
+-- atanh0001 atanh 0.0 -0.0 -> 0.0 -0.0
+-- atanh0002 atanh -0.0 0.0 -> -0.0 0.0
+-- atanh0003 atanh -0.0 -0.0 -> -0.0 -0.0
-- values along both sides of real axis
atanh0010 atanh -9.8813129168249309e-324 0.0 -> -9.8813129168249309e-324 0.0