Function num_bigint_dig::algorithms::jacobi
source · pub fn jacobi(x: &BigInt, y: &BigInt) -> isize
Expand description
Jacobi returns the Jacobi symbol (x/y), either +1, -1, or 0. The y argument must be an odd integer.
pub fn jacobi(x: &BigInt, y: &BigInt) -> isize
Jacobi returns the Jacobi symbol (x/y), either +1, -1, or 0. The y argument must be an odd integer.