mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 06:30:05 +00:00
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.
This commit is contained in:
parent
7b84d1296b
commit
940f075460
@ -1,3 +1,8 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2000-12-13 Jakub Jelinek <jakub@redhat.com>
|
2000-12-13 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* math/test-misc.c (main): Adjust m for IEEE quad long double.
|
* math/test-misc.c (main): Adjust m for IEEE quad long double.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Compute sine and cosine of argument.
|
/* 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.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
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);
|
*sinx = __kernel_sinf (x, 0.0, 0);
|
||||||
*cosx = __kernel_cosf (x, 0.0);
|
*cosx = __kernel_cosf (x, 0.0);
|
||||||
}
|
}
|
||||||
else if (ix>=0x7ff00000)
|
else if (ix>=0x7f800000)
|
||||||
{
|
{
|
||||||
/* sin(Inf or NaN) is NaN */
|
/* sin(Inf or NaN) is NaN */
|
||||||
*sinx = *cosx = x - x;
|
*sinx = *cosx = x - x;
|
||||||
|
Loading…
Reference in New Issue
Block a user