From d32e434671df2f3d1127ffeef7e6800b6226ceea Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 18 Jan 2003 01:50:46 +0000 Subject: [PATCH] * math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]: Add test of value 0.80190127184058835. --- ChangeLog | 3 +++ math/libm-test.inc | 12 ++++++++++++ 2 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index af3683e696..2ed6d18555 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-01-17 Roland McGrath + * math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]: + Add test of value 0.80190127184058835. + * elf/dl-open.c: Fix typo ifdef -> ifndef on _dl_tls_static_size defn. 2003-01-17 Richard Henderson diff --git a/math/libm-test.inc b/math/libm-test.inc index c9ab066cb1..727913c361 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -1911,6 +1911,10 @@ cos_test (void) TEST_f_f (cos, 0.75L, 0.731688868873820886311838753000084544L); +#ifdef TEST_DOUBLE + TEST_f_f (cos, 0.80190127184058835, 0.69534156199418473); +#endif + END (cos); } @@ -3887,6 +3891,10 @@ sin_test (void) TEST_f_f (sin, -M_PI_2l, -1); TEST_f_f (sin, 0.75L, 0.681638760023334166733241952779893935L); +#ifdef TEST_DOUBLE + TEST_f_f (sin, 0.80190127184058835, 0.71867942238767868); +#endif + END (sin); } @@ -3918,6 +3926,10 @@ sincos_test (void) TEST_extra (sincos, M_PI_6l*2.0, 0.86602540378443864676372317075293616L, 0.5); TEST_extra (sincos, 0.75L, 0.681638760023334166733241952779893935L, 0.731688868873820886311838753000084544L); +#ifdef TEST_DOUBLE + TEST_extra (sincos, 0.80190127184058835, 0.71867942238767868, 0.69534156199418473); +#endif + END (sincos); }