aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-07-03 17:06:55 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-07-03 17:06:55 +0000
commite2283f38febb8f1721f896680bed251ceef58a6b (patch)
tree9053b3c6373d6ce18be6fa2ec804239e24c7175e
parent06e3c8a22dc63727ab09703446568754cef2ffa5 (diff)
downloadglibc-e2283f38febb8f1721f896680bed251ceef58a6b.tar
glibc-e2283f38febb8f1721f896680bed251ceef58a6b.tar.gz
glibc-e2283f38febb8f1721f896680bed251ceef58a6b.tar.bz2
glibc-e2283f38febb8f1721f896680bed251ceef58a6b.zip
Add cosh tests for bug 14273.
-rw-r--r--ChangeLog3
-rw-r--r--math/libm-test.inc5
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e480f5a0d0..f8bd145c7c 100644
--- 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".
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 8e4d02e76a..48b05a6e2f 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -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);
}