Re: [RFA] Handle BINOP_INTDIV in valarith.c

Joel Brobecker
2008-01-17T11:58:54Z

For the record, I asked myself about the reason for using both BINOP_DIV
and BINOP_INTDIV if both have the same semantics. I looked at some
Pascal web sites, and the only difference between the '/' operator
and the 'div' operator is the fact that '/' returns a real whereas
"div" only operates on integers an returns an integer. So the distinction
is indeed necessary.

> 2008-01-16 Pierre Muller <muller@ics.u-strasbg.fr>
>
> * valarith.c (value_binop): Handle BINOP_INTDIV
> for unsigned and signed integers.

This patch is approved.

--
Joel