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

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

#2285 in Algorithms

Download history 5/week @ 2024-01-08 5/week @ 2024-01-15 4/week @ 2024-01-29 6/week @ 2024-02-05 9/week @ 2024-02-12 11/week @ 2024-02-19 31/week @ 2024-02-26 25/week @ 2024-03-04 19/week @ 2024-03-11 19/week @ 2024-03-18 15/week @ 2024-03-25 41/week @ 2024-04-01 30/week @ 2024-04-08 63/week @ 2024-04-15 39/week @ 2024-04-22

175 downloads per month
Used in 4 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

~155KB