summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libclc/generic/lib/math/acosh.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/libclc/generic/lib/math/acosh.cl b/libclc/generic/lib/math/acosh.cl
index cc10dd48fadb..59da51162774 100644
--- a/libclc/generic/lib/math/acosh.cl
+++ b/libclc/generic/lib/math/acosh.cl
@@ -117,7 +117,7 @@ _CLC_OVERLOAD _CLC_DEF double acosh(double x) {
ret = ux >= 0x7FF0000000000000 ? x : ret;
ret = x == 1.0 ? 0.0 : ret;
- ret = (ux & SIGNBIT_DP64) != 0UL | x < 1.0 ? as_double(QNANBITPATT_DP64) : ret;
+ ret = ((ux & SIGNBIT_DP64) != 0UL | x < 1.0) ? as_double(QNANBITPATT_DP64) : ret;
return ret;
}