From 273861e3aa046004fa198e0fce26cbf6e984ae7e Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 17 Apr 2001 17:13:00 +0000 Subject: 2001-04-17 Stephen L. Moshier * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi): Correct the numerical values. --- newlib/ChangeLog | 5 +++++ newlib/libm/math/ef_asin.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index db34abb..fe1108a 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2001-04-17 Stephen L. Moshier + + * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi): + Correct the numerical values. + 2001-04-13 Robert Collins * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only). diff --git a/newlib/libm/math/ef_asin.c b/newlib/libm/math/ef_asin.c index 64f3608..c49dcbb 100644 --- a/newlib/libm/math/ef_asin.c +++ b/newlib/libm/math/ef_asin.c @@ -22,9 +22,9 @@ static float #endif one = 1.0000000000e+00, /* 0x3F800000 */ huge = 1.000e+30, -pio2_hi = 1.5707962513e+00, /* 0x3fc90fda */ -pio2_lo = 7.5497894159e-08, /* 0x33a22168 */ -pio4_hi = 7.8539818525e-01, /* 0x3f490fdb */ +pio2_hi = 1.57079637050628662109375f, +pio2_lo = -4.37113900018624283e-8f, +pio4_hi = 0.785398185253143310546875f, /* coefficient for R(x^2) */ pS0 = 1.6666667163e-01, /* 0x3e2aaaab */ pS1 = -3.2556581497e-01, /* 0xbea6b090 */ -- cgit v1.1