diff options
author | Andreas Jaeger <aj@suse.de> | 2012-03-15 18:02:02 +0100 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2012-03-15 18:02:02 +0100 |
commit | ea40808acdd8b582551cc4e94efd5511b4833de9 (patch) | |
tree | d2c4bdfa4c6b699182ad0f66ecf154a53cb15f53 | |
parent | ee010c9e952bc68799b4584ec0ee27230109f890 (diff) | |
download | glibc-ea40808acdd8b582551cc4e94efd5511b4833de9.zip glibc-ea40808acdd8b582551cc4e94efd5511b4833de9.tar.gz glibc-ea40808acdd8b582551cc4e94efd5511b4833de9.tar.bz2 |
Use 40 digits in tests
-rw-r--r-- | math/libm-test.inc | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index ddc8ea5..89d0eb1 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -2114,8 +2114,8 @@ cos_test (void) #ifndef TEST_LDOUBLE /* Enable for long double once x86 and x86-64 implementations are fixed. */ - TEST_f_f (cos, 0x1p65, 0.998886220660580136106421721793L); - TEST_f_f (cos, -0x1p65, 0.998886220660580136106421721793L); + TEST_f_f (cos, 0x1p65, 0.99888622066058013610642172179340364209972L); + TEST_f_f (cos, -0x1p65, 0.99888622066058013610642172179340364209972L); #endif #ifdef TEST_DOUBLE @@ -6396,9 +6396,10 @@ sin_test (void) TEST_f_f (sin, 0.75L, 0.681638760023334166733241952779893935L); #ifndef TEST_LDOUBLE + /* Enable for long double once x86 and x86-64 implementations are fixed. */ - TEST_f_f (sin, 0x1p65, -0.0471838762123546738051061498057L); - TEST_f_f (sin, -0x1p65, 0.0471838762123546738051061498057L); + TEST_f_f (sin, 0x1p65, -0.047183876212354673805106149805700013943218L); + TEST_f_f (sin, -0x1p65, 0.047183876212354673805106149805700013943218L); #endif #ifdef TEST_DOUBLE @@ -6577,8 +6578,8 @@ sincos_test (void) #ifndef TEST_LDOUBLE /* Enable for long double once x86 and x86-64 implementations are fixed. */ - TEST_extra (sincos, 0x1p65, -0.0471838762123546738051061498057L, 0.998886220660580136106421721793L); - TEST_extra (sincos, -0x1p65, 0.0471838762123546738051061498057L, 0.998886220660580136106421721793L); + TEST_extra (sincos, 0x1p65, -0.047183876212354673805106149805700013943218L, 0.99888622066058013610642172179340364209972L); + TEST_extra (sincos, -0x1p65, 0.047183876212354673805106149805700013943218L, 0.99888622066058013610642172179340364209972L); #endif #ifdef TEST_DOUBLE @@ -6787,8 +6788,8 @@ tan_test (void) #ifdef TEST_FLOAT /* Enable for double and long double once x86 and x86-64 implementations are fixed. */ - TEST_f_f (tan, 0x1p65, -0.04723648723590479467984142193L); - TEST_f_f (tan, -0x1p65, 0.04723648723590479467984142193L); + TEST_f_f (tan, 0x1p65, -0.0472364872359047946798414219288370688827L); + TEST_f_f (tan, -0x1p65, 0.0472364872359047946798414219288370688827L); #endif END (tan); |