#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

#2729 in Algorithms

Download history 4/week @ 2024-11-13 3/week @ 2024-11-20 10/week @ 2024-11-27 19/week @ 2024-12-04 25/week @ 2024-12-11 4/week @ 2024-12-18 16/week @ 2025-01-15 3/week @ 2025-01-22 10/week @ 2025-02-05 54/week @ 2025-02-12 1/week @ 2025-02-19 15/week @ 2025-02-26

80 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