summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-04-16 18:04:22 +0000
committerAndreas Jaeger <aj@suse.de>2001-04-16 18:04:22 +0000
commit8c4b05d02faf17b9f63a7071e5f1852706d85cbd (patch)
tree6a02fcc23ba80858234990d4e4e52f47bb0924ef
parent27cffd27d7496ee9ed377e9908283b2e828fdd2e (diff)
downloadglibc-8c4b05d02faf17b9f63a7071e5f1852706d85cbd.tar.gz
glibc-8c4b05d02faf17b9f63a7071e5f1852706d85cbd.tar.xz
glibc-8c4b05d02faf17b9f63a7071e5f1852706d85cbd.zip
Update.
	* math/libm-test.inc (atan2_test): Add more testcases.
-rw-r--r--ChangeLog2
-rw-r--r--math/libm-test.inc6
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 423987ebb3..46db0361be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2001-04-16  Andreas Jaeger  <aj@suse.de>
 
+	* math/libm-test.inc (atan2_test): Add more testcases.
+
 	* iconv/gconv_db.c: Include gconv_charset.h for
 	__gconv_lookup_alias prototype.
 
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 41918b4185..f7dc59524d 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -918,8 +918,12 @@ atan2_test (void)
   TEST_ff_f (atan2, minus_infty, minus_infty, -M_PI_34l);
   TEST_ff_f (atan2, nan_value, nan_value, nan_value);
 
-  TEST_ff_f (atan2, 0.7L, 1, 0.6107259643892086165L);
+  TEST_ff_f (atan2, 0.7L, 1.0L, 0.6107259643892086165L);
+  TEST_ff_f (atan2, -0.7L, 1.0L, -0.6107259643892086165L);
+  TEST_ff_f (atan2, 0.7L, -1.0L, 2.5308666892005846219L);
+  TEST_ff_f (atan2, -0.7L, -1.0L, -2.5308666892005846219L);
   TEST_ff_f (atan2, 0.4L, 0.0003L, 1.5700463269355215718L);
+  TEST_ff_f (atan2, 1.4L, -0.93L, 2.1571487668237843755L);
 
   END (atan2);
 }