Function div_mod

Source
pub fn div_mod(a: BigUint, b: BigUint, p: &BigUint) -> BigUint
Expand description

Divides two BigUint numbers modulo a third BigUint number.

§Arguments

  • a - The numerator as a BigUint.
  • b - The denominator as a BigUint.
  • p - The modulus as a BigUint.

§Returns

The result of the division modulo p as a BigUint.