aboutsummaryrefslogtreecommitdiff
path: root/math/libm-test.inc
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 /math/libm-test.inc
parent06e3c8a22dc63727ab09703446568754cef2ffa5 (diff)
downloadglibc-e2283f38febb8f1721f896680bed251ceef58a6b.tar
glibc-e2283f38febb8f1721f896680bed251ceef58a6b.tar.gz
glibc-e2283f38febb8f1721f896680bed251ceef58a6b.tar.bz2
glibc-e2283f38febb8f1721f896680bed251ceef58a6b.zip
Add cosh tests for bug 14273.
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r--math/libm-test.inc5
1 files changed, 5 insertions, 0 deletions
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);
}