if (evaluate)
{
if (!toarith (l) || !toarith (r))
- error (EXPR_INVALID, 0, _("non-numeric argument"));
+ error (EXPR_INVALID, 0, _("non-integer argument"));
if (fxn != multiply && mpz_sgn (r->u.i) == 0)
error (EXPR_INVALID, 0, _("division by zero"));
((fxn == multiply ? mpz_mul
if (evaluate)
{
if (!toarith (l) || !toarith (r))
- error (EXPR_INVALID, 0, _("non-numeric argument"));
+ error (EXPR_INVALID, 0, _("non-integer argument"));
(fxn == plus ? mpz_add : mpz_sub) (l->u.i, l->u.i, r->u.i);
}
freev (r);
# This erroneously succeeded and output `3' before 2.0.12.
- ['fail-a', '3 + -', {ERR => "$prog: non-numeric argument\n"},
+ ['fail-a', '3 + -', {ERR => "$prog: non-integer argument\n"},
{EXIT => 2}],
# This erroneously succeeded before 5.3.1.