Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add test to keep powering in
ZMod
fast (#17996)
Thanks to #8885 we can now evaluate powers in `ZMod M` much more efficiently for large `M`. To guard against reversion, we add a test that for a chosen 1024-bit prime and base we should satisfy Fermat's Little Theorem when `#eval` is used.
- Loading branch information