summaryrefslogtreecommitdiff
path: root/libquadmath/math/cacoshq.c
diff options
context:
space:
mode:
Diffstat (limited to 'libquadmath/math/cacoshq.c')
-rw-r--r--libquadmath/math/cacoshq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libquadmath/math/cacoshq.c b/libquadmath/math/cacoshq.c
index 263e03d0c11..a7025dc917d 100644
--- a/libquadmath/math/cacoshq.c
+++ b/libquadmath/math/cacoshq.c
@@ -70,7 +70,7 @@ cacoshq (__complex128 x)
some cases. */
res = 2.0Q * clogq (csqrtq ((x + 1.0Q) / 2.0Q)
+ csqrtq ((x - 1.0Q) / 2.0Q));
- if (signbit (__real__ res))
+ if (signbitq (__real__ res))
__real__ res = 0.0Q;
}
else