summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/ldbl-128ibm/k_cosl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/ldbl-128ibm/k_cosl.c')
-rw-r--r--sysdeps/ieee754/ldbl-128ibm/k_cosl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm/k_cosl.c b/sysdeps/ieee754/ldbl-128ibm/k_cosl.c
index 2a241fdc4d..0b81782fdb 100644
--- a/sysdeps/ieee754/ldbl-128ibm/k_cosl.c
+++ b/sysdeps/ieee754/ldbl-128ibm/k_cosl.c
@@ -120,7 +120,7 @@ __kernel_cosl(long double x, long double y)
The following should work for double but generates the wrong index.
For now the code above converts double to ieee extended to compute
the index back to double for the h value.
-
+
index = 0x3fe - (tix >> 20);
hix = (tix + (0x200 << index)) & (0xfffffc00 << index);
if (signbit (x))