Displaying 1 result from an estimated 1 matches for "arith_add".
2012 Jul 02
0
[klibc:master] [ARITH] Avoid imaxdiv when only one of the results is wanted
...op) {
default:
case ARITH_REM:
case ARITH_DIV:
if (!b)
yyerror("division by zero");
-#ifdef HAVE_IMAXDIV
- div = imaxdiv(a, b);
- return op == ARITH_REM ? div.rem : div.quot;
-#else
return op == ARITH_REM ? a % b : a / b;
-#endif
case ARITH_MUL:
return a * b;
case ARITH_ADD: