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
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2005-07-20 20:20:24 +0400
committerJeff Johnston <jjohnstn@redhat.com>2005-07-20 20:20:24 +0400
commit395a327d174b050707aa233c16e4ea45289e6671 (patch)
tree9a34bbb15dd268c1f6330631e121aa79bcc9665a /newlib
parent08ce42dab25fa131e0c2f39b85b42a8cffa2eced (diff)
2005-07-20 Bob Wilson <bob.wilson@acm.org>
Darin Petkov <darin@tensilica.com> * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libm/math/ef_atan2.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index e7c74fbe2..fc79c5867 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-20 Bob Wilson <bob.wilson@acm.org>
+ Darin Petkov <darin@tensilica.com>
+
+ * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
+
2005-07-19 Paul Brook <paul@codesourcery.com>
* libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
diff --git a/newlib/libm/math/ef_atan2.c b/newlib/libm/math/ef_atan2.c
index 45b5acb0c..d57480b03 100644
--- a/newlib/libm/math/ef_atan2.c
+++ b/newlib/libm/math/ef_atan2.c
@@ -25,8 +25,8 @@ tiny = 1.0e-30,
zero = 0.0,
pi_o_4 = 7.8539818525e-01, /* 0x3f490fdb */
pi_o_2 = 1.5707963705e+00, /* 0x3fc90fdb */
-pi = 3.1415925026e+00, /* 0x40490fda */
-pi_lo = 1.5099578832e-07; /* 0x34222168 */
+pi = 3.1415927410e+00, /* 0x40490fdb */
+pi_lo = -8.7422776573e-08; /* 0xb3bbbd2e */
#ifdef __STDC__
float __ieee754_atan2f(float y, float x)