diff options
Diffstat (limited to 'libclc')
-rw-r--r-- | libclc/generic/lib/math/acosh.cl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libclc/generic/lib/math/acosh.cl b/libclc/generic/lib/math/acosh.cl index cc10dd4..59da511 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; } |