^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
xa real
ya real
na real


Outputs
za real


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

Definition