#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

#2230 in Algorithms

Download history 4/week @ 2023-12-08 3/week @ 2023-12-15 2/week @ 2023-12-22 2/week @ 2024-01-05 6/week @ 2024-01-12 2/week @ 2024-01-19 3/week @ 2024-01-26 2/week @ 2024-02-02 9/week @ 2024-02-09 13/week @ 2024-02-16 21/week @ 2024-02-23 25/week @ 2024-03-01 25/week @ 2024-03-08 19/week @ 2024-03-15 17/week @ 2024-03-22

90 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