Next: Rational Functions, Previous: Arithmetic Functions, Up: Numbers [Contents][Index]
The functions described in this section all operate on, and return, integer values.
Return the integer part of dividing dividend by divisor.
Returns the integer remainder from dividing the dividend by divisor. The remainder is either zero or has the same sign as dividend.
Return the value of dividend modulo divisor. Unlike the
remainder
function the modulo
function always has the
sign of the divisor, not of the dividend
Returns the greatest common divisor of the integers args… If no arguments are given, returns zero.
Return the lowest common multiple of the integers args… If no arguments are given, returns one.