Next: Irrational Real Functions, Previous: Modular Arithmetic, Up: Mathematical Packages [Contents][Index]
(require 'math-integer)
Returns n1 raised to the power n2 if that result is an exact integer; otherwise signals an error.
(integer-expt 0 n2)
returns 1 for n2 equal to 0; returns 0 for positive integer n2; signals an error otherwise.
Returns the largest exact integer whose power of base is less than or
equal to k. If base or k is not a positive exact integer, then
integer-log
signals an error.
For non-negative integer k returns the largest integer whose square is less than or equal to k; otherwise signals an error.
are redefined so that they accept only exact-integer arguments.
Returns the quotient of n1 and n2 rounded toward even.
(quotient 3 2) ⇒ 1 (round-quotient 3 2) ⇒ 2
Next: Irrational Real Functions, Previous: Modular Arithmetic, Up: Mathematical Packages [Contents][Index]