Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2001-04-17 21:13:00 +0400
committerJeff Johnston <jjohnstn@redhat.com>2001-04-17 21:13:00 +0400
commit273861e3aa046004fa198e0fce26cbf6e984ae7e (patch)
tree6a34a6facfb7b4c2c99426ba489c4235ed561cd5
parente6629a8ad0288b596a2c16296b17cdb715dcd73b (diff)
2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
* newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi): Correct the numerical values.
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libm/math/ef_asin.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index db34abb88..fe1108aca 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
+
+ * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
+ Correct the numerical values.
+
2001-04-13 Robert Collins <rbtcollins@hotmail.com>
* 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 64f3608d3..c49dcbbca 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 */