From: Joseph Myers Date: Tue, 3 Jul 2012 17:06:55 +0000 (+0000) Subject: Add cosh tests for bug 14273. X-Git-Tag: glibc-2.17~875 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e2283f38febb8f1721f896680bed251ceef58a6b;p=thirdparty%2Fglibc.git Add cosh tests for bug 14273. --- diff --git a/ChangeLog b/ChangeLog index e480f5a0d0b..f8bd145c7ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2012-07-03 Joseph Myers + [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 8e4d02e76a1..48b05a6e2f5 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); }