Add cosh tests for bug 14273.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 3 Jul 2012 17:06:55 +0000 (17:06 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 3 Jul 2012 17:06:55 +0000 (17:06 +0000)
ChangeLog
math/libm-test.inc

index e480f5a..f8bd145 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
 
+       [BZ #14273]
+       * math/libm-test.inc (cosh_test): Add more tests.
+
        * version.h (RELEASE): Set to "development".
        (VERSION): Set to "2.16.90".
 
index 8e4d02e..48b05a6 100644 (file)
@@ -2759,6 +2759,11 @@ cosh_test (void)
 
   TEST_f_f (cosh, 0.75L, 1.29468328467684468784170818539018176L);
 
+#ifndef TEST_FLOAT
+  TEST_f_f (cosh, 709.8893558127259666434838436543941497802734375L, 9.9999998999995070652573675944761818416035e+307L);
+  TEST_f_f (cosh, -709.8893558127259666434838436543941497802734375L, 9.9999998999995070652573675944761818416035e+307L);
+#endif
+
   END (cosh);
 }