QuoInt( n1, n2 )
QuoInt returns the integer part of the quotient of its integer
operands.
If n1 and n2 are positive QuoInt( n1,
n2 ) is the largest positive integer q such that
q*n2 <= n1. If n1 or
n2 or both are negative the absolute value of the integer part of
the quotient is the quotient of the absolute values of n1 and
n2, and the sign of it is the product of the signs of n1
and n2.
RemInt (see RemInt) can be used to compute the remainder.
gap> QuoInt(5,2); QuoInt(-5,2); QuoInt(5,-2); QuoInt(-5,-2);
2
-2
-2
2