Number theoretic explorations with rust. 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.
Add as a git dependency (for now), and import quadratic:
```rust extern crate quadratic;
asserteq!(-1, quadratic::jacobi(2, 5)); asserteq(1, quadratic::jacobi(2, 15)); ```
MIT-Licensed. See LICENSE file for details.