#modular-arithmetic #type #integer #algorithm #manner #const-compatible #overflow-safe

safe-modular-arithmetic

Implementation of modular arithmetic algorithms for all integer types in an overflow-safe and const-compatible manner

7 releases

0.2.4 Mar 28, 2021
0.2.3 Mar 28, 2021
0.1.1 Mar 28, 2021

#2481 in Algorithms

34 downloads per month
Used in 3 crates (via queue-model)

Apache-2.0

8KB
174 lines

safe-modular-arithmetic

Implementation of modular arithmetic algorithms for all integer types in an overflow-safe and const-compatible manner.


lib.rs:

Implementation of modular arithmetic algorithms for all integer types in an overflow-safe and const-compatible manner.

Dependencies

~150KB