mes.c: add quotient and modulo.