^mod ( x y n -- z )
Factor handbook > The language > Numbers > Mathematical functions > Integer functions

Prev:next-power-of-2 ( m -- n )
Next:mod-inv ( x n -- y )


Vocabulary
math.functions

Inputs and outputs
xa real
ya real
na real
za real


Word description
Outputs the result of computing x^y mod n.

Definition