diff options
author | Andreas Jaeger <aj@suse.de> | 2000-12-15 06:42:07 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-12-15 06:42:07 +0000 |
commit | 940f075460476e9a4e9389be423acca40effd60c (patch) | |
tree | d6b595d7a299f45eb4d426f1c41adae00e31cd84 /sysdeps/ieee754/flt-32/s_sincosf.c | |
parent | 7b84d1296bc3bc253383c4ada077fc2acb3cdfcb (diff) | |
download | glibc-940f075460476e9a4e9389be423acca40effd60c.tar.gz glibc-940f075460476e9a4e9389be423acca40effd60c.tar.xz glibc-940f075460476e9a4e9389be423acca40effd60c.zip |
Update.
2000-12-14 H.J. Lu <hjl@gnu.org> * sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent field in a float is 8 bits, not 11 bits.
Diffstat (limited to 'sysdeps/ieee754/flt-32/s_sincosf.c')
-rw-r--r-- | sysdeps/ieee754/flt-32/s_sincosf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ieee754/flt-32/s_sincosf.c b/sysdeps/ieee754/flt-32/s_sincosf.c index 0fd7b0ca8b..8da5082515 100644 --- a/sysdeps/ieee754/flt-32/s_sincosf.c +++ b/sysdeps/ieee754/flt-32/s_sincosf.c @@ -1,5 +1,5 @@ /* Compute sine and cosine of argument. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -38,7 +38,7 @@ __sincosf (float x, float *sinx, float *cosx) *sinx = __kernel_sinf (x, 0.0, 0); *cosx = __kernel_cosf (x, 0.0); } - else if (ix>=0x7ff00000) + else if (ix>=0x7f800000) { /* sin(Inf or NaN) is NaN */ *sinx = *cosx = x - x; |