about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-10-31 20:44:59 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-10-31 20:44:59 +0000
commit16a0e2ec87f104961b88173fe8c96f9348850b0d (patch)
treeafcb3c9f59e4f7b556a3fb05f6aebf75bf4bd858 /math
parent0eb69512575e1e2ccfec4c4489fa3fb6201d38d1 (diff)
downloadglibc-16a0e2ec87f104961b88173fe8c96f9348850b0d.tar.gz
glibc-16a0e2ec87f104961b88173fe8c96f9348850b0d.tar.xz
glibc-16a0e2ec87f104961b88173fe8c96f9348850b0d.zip
Fix ldbl-128ibm atan2l for x near 1.
Diffstat (limited to 'math')
-rw-r--r--math/libm-test.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 91019a1219..9c773927cb 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -1297,6 +1297,9 @@ atan2_test (void)
   TEST_ff_f (atan2, 1.390625L, 0.9296875L, 0.981498387184244311516296577615519772L);
 
   TEST_ff_f (atan2, -0.00756827042671106339L, -.001792735857538728036L, -1.80338464113663849327153994379639112L);
+#if defined TEST_LDOUBLE && LDBL_MANT_DIG >= 64
+  TEST_ff_f (atan2, 0x1.00000000000001p0L, 0x1.00000000000001p0L, M_PI_4l);
+#endif
 
   END (atan2);
 }