diff --git a/ocml/src/sinH.cl b/ocml/src/sinH.cl index 83ba1ca..527a8e7 100644 --- a/ocml/src/sinH.cl +++ b/ocml/src/sinH.cl @@ -21,7 +21,7 @@ MATH_MANGLE(sin)(half x) s ^= (r.i > (short)1 ? (short)0x8000 : (short)0) ^ (AS_SHORT(x) & (short)0x8000); if (!FINITE_ONLY_OPT()) { - s = BUILTIN_ISFINITE_F16(ax) ?(short)QNANBITPATT_HP16 : s; + s = BUILTIN_ISFINITE_F16(ax) ? s : (short)QNANBITPATT_HP16; } return AS_HALF(s);