|
idiv
|
The idiv built-in function divides the first Integer argument by any number of
Integer divisors and the quotient is expressed as an Integer. The operands are not
checked and are not coerced
When to use The idiv built-in function is a simple but very fast integer division
function. Use the idiv function for highly optimized integer division.
An alternate function, divi, will take any numeric operand and will perform
type conversion before dividing and returns an integer result, but is much slower.
(idiv int1 int2, ... ) The quotient of all of the Integers in the argument list.
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
These examples show the idiv function perform division on the Integer arguments.
The function does not operate on non-Integer arguments.
Here are the links to the data types of the function arguments. Here are also a number of links to functions having arguments with any of these data types.
You can always talk with the AIS at aiserver.sourceforge.net.
Name
Description
AIS Types int1 An Integer dividend. Integer int2 An arbitrary number of Integer divisors. Integer
Returns:
Examples
Argument Types
Number
Integer
How do I contact the AIS team?