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:
parent
3c9278f472
commit
4839ab2330
@ -44,9 +44,9 @@
|
|||||||
(roundl(fmodl(log2l(INT_ABS((b))), 1.l) * OPT_INT_DIV_ROUNDING) \
|
(roundl(fmodl(log2l(INT_ABS((b))), 1.l) * OPT_INT_DIV_ROUNDING) \
|
||||||
== 0.l) ? ( \
|
== 0.l) ? ( \
|
||||||
INT_DIV_NEG_RESULT_SIGN(a, b) ? \
|
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)) )) \
|
((a) / (b)) )) \
|
||||||
) /* end */
|
) /* end */
|
||||||
|
Loading…
Reference in New Issue
Block a user