diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-07-03 17:10:42 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-07-03 17:11:41 +0000 |
commit | 7a845b2c237434d4aad790aaba3a973e24ea802f (patch) | |
tree | 16a6f0e49ff1b9b6a28f61fd16bb39821e2f54cf /math | |
parent | e2283f38febb8f1721f896680bed251ceef58a6b (diff) | |
download | glibc-7a845b2c237434d4aad790aaba3a973e24ea802f.tar.gz glibc-7a845b2c237434d4aad790aaba3a973e24ea802f.tar.xz glibc-7a845b2c237434d4aad790aaba3a973e24ea802f.zip |
Fix float range reduction problems (bug 14283).
Diffstat (limited to 'math')
-rw-r--r-- | math/libm-test.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index 48b05a6e2f..3e33348953 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -2589,6 +2589,8 @@ cos_test (void) TEST_f_f (cos, 0.80190127184058835, 0.69534156199418473); #endif + TEST_f_f (cos, 0x1.442f74p+15, 2.4407839902314016628485779006274989801517e-06L); + #ifndef TEST_FLOAT TEST_f_f (cos, 1e22, 0.5232147853951389454975944733847094921409L); TEST_f_f (cos, 0x1p1023, -0.826369834614147994500785680811743734805L); @@ -7692,6 +7694,8 @@ sin_test (void) TEST_f_f (sin, 0x1p65, -0.047183876212354673805106149805700013943218L); TEST_f_f (sin, -0x1p65, 0.047183876212354673805106149805700013943218L); + TEST_f_f (sin, 0x1.7f4134p+103, -6.6703229329788657073304190650534846045235e-08L); + #ifdef TEST_DOUBLE TEST_f_f (sin, 0.80190127184058835, 0.71867942238767868); TEST_f_f (sin, 2.522464e-1, 2.4957989804940911e-1); |