gen: ignore the sign of the second operand in / and %