mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
Update.
2001-07-10 Stephen L Moshier <moshier@mediaone.net> * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Fix backwards conditional in test for x == 1.0.
This commit is contained in:
parent
0eeba576ea
commit
0e2bd6fdac
@ -1,3 +1,8 @@
|
||||
2001-07-10 Stephen L Moshier <moshier@mediaone.net>
|
||||
|
||||
* sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Fix
|
||||
backwards conditional in test for x == 1.0.
|
||||
|
||||
2001-07-10 Andreas Jaeger <aj@suse.de>
|
||||
|
||||
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Add ulps for tanh
|
||||
|
@ -157,7 +157,7 @@ __ieee754_acosl (x)
|
||||
if (ix == 0x3fff0000
|
||||
&& (u.parts32.w1 | u.parts32.w2 | u.parts32.w3) == 0)
|
||||
{ /* |x| == 1 */
|
||||
if (sign & 0x80000000)
|
||||
if ((sign & 0x80000000) == 0)
|
||||
return 0.0; /* acos(1) = 0 */
|
||||
else
|
||||
return (2.0 * pio2_hi) + (2.0 * pio2_lo); /* acos(-1)= pi */
|
||||
|
Loading…
Reference in New Issue
Block a user