1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-26 11:30:03 +05:30

opt_int_div.h: add parentheses around a and b in last part of OPT_INT_DIV

This commit is contained in:
Intel A80486DX2-66 2024-03-09 17:55:41 +03:00
parent 3c9278f472
commit 4839ab2330
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -44,9 +44,9 @@
(roundl(fmodl(log2l(INT_ABS((b))), 1.l) * OPT_INT_DIV_ROUNDING) \
== 0.l) ? ( \
INT_DIV_NEG_RESULT_SIGN(a, b) ? \
-INT_BIN_DIV(INT_ABS(a), INT_ABS(b)) \
-INT_BIN_DIV(INT_ABS((a)), INT_ABS((b))) \
: \
INT_BIN_DIV(INT_ABS(a), INT_ABS(b))) \
INT_BIN_DIV(INT_ABS((a)), INT_ABS((b)))) \
: \
((a) / (b)) )) \
) /* end */