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/libm | |
parent | 08ce42dab25fa131e0c2f39b85b42a8cffa2eced (diff) | |
download | cygnal-395a327d174b050707aa233c16e4ea45289e6671.tar.gz cygnal-395a327d174b050707aa233c16e4ea45289e6671.tar.bz2 cygnal-395a327d174b050707aa233c16e4ea45289e6671.zip |
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/libm')
-rw-r--r-- | newlib/libm/math/ef_atan2.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |