Copyright (C) 2000-2012 |
GNU Info (librep.info)Integer FunctionsInteger Functions ----------------- The functions described in this section all operate on, and return, integer values. - Function: quotient dividend divisor Return the integer part of dividing DIVIDEND by DIVISOR. - Function: remainder dividend divisor Returns the integer remainder from dividing the DIVIDEND by DIVISOR. The remainder is either zero or has the same sign as DIVIDEND. - Function: modulo dividend divisor - Function: mod dividend divisor 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 - Function: gcd args... Returns the greatest common divisor of the integers ARGS... If no arguments are given, returns zero. - Function: lcm args... Return the lowest common multiple of the integers ARGS... If no arguments are given, returns one. automatically generated by info2www version 1.2.2.9 |