mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
* math/libm-test.inc (sin_test, cos_test, sincos_test) [TEST_DOUBLE]:
Add test of value 0.80190127184058835.
This commit is contained in:
parent
6243142523
commit
d32e434671
@ -1,5 +1,8 @@
|
||||
2003-01-17 Roland McGrath <roland@redhat.com>
|
||||
|
||||
* 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 <rth@redhat.com>
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user