Crate safe_modular_arithmetic[][src]

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

Structs

Modular

Represents an integer with an associated modulus.

StaticModular

Represents an integer with a statically specified modulus.