Add cosh tests for bug 14273.

This commit is contained in:
Joseph Myers 2012-07-03 17:06:55 +00:00
parent 06e3c8a22d
commit e2283f38fe
2 changed files with 8 additions and 0 deletions

View File

@ -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".

View 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);
}