Owner's manual

Table Of Contents
IQUOT
Type: Fimction
Description:
Returns the integer quotient of two integers. That is,
given two integers, a and b, returns the integer q, such
that:
a = qb + r, and 0<?-<b
Access: Arithmetic, R(MfH) integer
Input: Level 2/Item 1: The dividend.
Level 1/Item 2: The divisor.
Output:
The integer quotient.
Flags:
Exact mode must be set (flag -105 clear).
Numeric mode must not be set (flag -03 clear).
See also: QUOT
IDIV2
IREMAINDER
Type: Function
Description:
Returns the remainder of an integer division.
Access: Catalog, (CAT)
Input:
Level 2/Argument 1: The numerator.
Level 1/Argiunent 2: The denominator.
Output:
The remainder.
Flags:
Exact mode must be set (flag -105 clear).
Numeric mode must not be set (flag -03 clear).
See also: IDIV2
ISPRIME?
Type: Function
Description:
Tests if a number is prime.
Access: Arithmetic, R(WfH) INTEGER
Input:
An object that evaluates to a number.
Output:
1 (True) if the number is prime, 0 (False) if it is not.
Computer Algebra Commands
Page 14-35