aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-07-11 07:30:36 +0000
committerAndreas Jaeger <aj@suse.de>2001-07-11 07:30:36 +0000
commit0e2bd6fdaca1d9666a3201b7d32019e928e99876 (patch)
tree22b7ae79a94845f76d9a4a56c992916d33c4b1d8 /sysdeps/ieee754
parent0eeba576ea454c03819a958564f3eae36682e6ce (diff)
downloadglibc-0e2bd6fdaca1d9666a3201b7d32019e928e99876.tar
glibc-0e2bd6fdaca1d9666a3201b7d32019e928e99876.tar.gz
glibc-0e2bd6fdaca1d9666a3201b7d32019e928e99876.tar.bz2
glibc-0e2bd6fdaca1d9666a3201b7d32019e928e99876.zip
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.
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r--sysdeps/ieee754/ldbl-128/e_acosl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/ldbl-128/e_acosl.c b/sysdeps/ieee754/ldbl-128/e_acosl.c
index 745456a3fe..4fae6fcdf3 100644
--- a/sysdeps/ieee754/ldbl-128/e_acosl.c
+++ b/sysdeps/ieee754/ldbl-128/e_acosl.c
@@ -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 */