diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2005-07-20 16:20:24 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2005-07-20 16:20:24 +0000 |
commit | 395a327d174b050707aa233c16e4ea45289e6671 (patch) | |
tree | 9a34bbb15dd268c1f6330631e121aa79bcc9665a /newlib | |
parent | 08ce42dab25fa131e0c2f39b85b42a8cffa2eced (diff) | |
download | newlib-395a327d174b050707aa233c16e4ea45289e6671.zip newlib-395a327d174b050707aa233c16e4ea45289e6671.tar.gz newlib-395a327d174b050707aa233c16e4ea45289e6671.tar.bz2 |
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/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libm/math/ef_atan2.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index e7c74fb..fc79c58 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 45b5acb..d57480b 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) |