Use 40 digits in tests

This commit is contained in:
Andreas Jaeger 2012-03-15 18:02:02 +01:00
parent ee010c9e95
commit ea40808acd
1 changed files with 9 additions and 8 deletions

View File

@ -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);