Quadratic
Number theoretic helpers. Calculates the Legendre and Jacobi symbol using the standard algorithm. Since the Jacobi symbol is a generalization of the Legendre symbol, only this function is provided.
Usage
Add quadratic as a dependency in Cargo.toml, then:
extern crate quadratic;
assert_eq!;
assert_eq!;
License
MIT-Licensed. See LICENSE file for details.