libclc: Add parentheses to silence warning

Fixes #59209
This commit is contained in:
Matt Arsenault 2022-12-29 18:11:14 -05:00
parent 0ec51a460a
commit 4ddba3a706

View File

@ -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;
}