diff options
author | Andreas Jaeger <aj@suse.de> | 2012-03-15 14:34:03 +0100 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2012-03-15 14:34:34 +0100 |
commit | 7bbfa5c6eca737faaa277d799437ac6a27863c93 (patch) | |
tree | 6ac0e0ff51d1bfee1ac17222aa6bd76b7f54ec79 /math | |
parent | da473fa8972807d9111d591f17cd59b8fb77c0d1 (diff) | |
download | glibc-7bbfa5c6eca737faaa277d799437ac6a27863c93.tar glibc-7bbfa5c6eca737faaa277d799437ac6a27863c93.tar.gz glibc-7bbfa5c6eca737faaa277d799437ac6a27863c93.tar.bz2 glibc-7bbfa5c6eca737faaa277d799437ac6a27863c93.zip |
[BZ #13837]
* math/libm-test.inc (cos_test): Add a test case for large input
value.
(sin_test): Likewise.
(sincos_test): Likewise.
Diffstat (limited to 'math')
-rw-r--r-- | math/libm-test.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index 8882833dc6..0801ca62c5 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -2115,6 +2115,7 @@ cos_test (void) #ifdef TEST_DOUBLE TEST_f_f (cos, 0.80190127184058835, 0.69534156199418473); TEST_f_f (cos, 1e22, 0.5232147853951389454975944733847); + TEST_f_f (cos, 0x1p1023, -0.8263698346141479945007856808117); #endif END (cos); @@ -6392,6 +6393,7 @@ sin_test (void) TEST_f_f (sin, 0.80190127184058835, 0.71867942238767868); TEST_f_f (sin, 2.522464e-1, 2.4957989804940911e-1); TEST_f_f (sin, 1e22, -0.8522008497671888017727058937530); + TEST_f_f (sin, 0x1p1023, 0.5631277798508840248814522055909); #endif END (sin); @@ -6564,6 +6566,7 @@ sincos_test (void) #ifdef TEST_DOUBLE TEST_extra (sincos, 0.80190127184058835, 0.71867942238767868, 0.69534156199418473); TEST_extra (sincos, 1e22, -0.8522008497671888017727058937530, 0.5232147853951389454975944733847); + TEST_extra (sincos, 0x1p1023, 0.5631277798508840248814522055909, -0.8263698346141479945007856808117); #endif END (sincos); |