search for: higher_prec

Displaying 1 result from an estimated 1 matches for "higher_prec".

Did you mean: high_prec
2012 Jul 02
0
[klibc:master] [ARITH] Avoid imaxdiv when only one of the results is wanted
...t;max at stro.at> --- usr/dash/arith_yacc.c | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/usr/dash/arith_yacc.c b/usr/dash/arith_yacc.c index bf21830..1a087c3 100644 --- a/usr/dash/arith_yacc.c +++ b/usr/dash/arith_yacc.c @@ -94,22 +94,13 @@ static inline int higher_prec(int op1, int op2) static intmax_t do_binop(int op, intmax_t a, intmax_t b) { -#ifdef HAVE_IMAXDIV - imaxdiv_t div; -#endif - switch (op) { default: case ARITH_REM: case ARITH_DIV: if (!b) yyerror("division by zero"); -#ifdef HAVE_IMAXDIV - div = imaxdiv(a, b); - retur...