From ea40808acdd8b582551cc4e94efd5511b4833de9 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 15 Mar 2012 18:02:02 +0100 Subject: Use 40 digits in tests --- math/libm-test.inc | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'math') diff --git a/math/libm-test.inc b/math/libm-test.inc index ddc8ea53d2..89d0eb1bfc 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); -- cgit 1.4.1