Module detail

Source
Expand description

Implementation details for this crate.

The structs and traits in this module are exposed for public use, although they are no designed for such usage. User-friendly is not a goal and backward-compatilibity is not strictly maintained here. Some traits in this module can be used to extend num-prime with new backends.

Structs§

Mint
Integer with fast modular arithmetics support, based on [MontgomeryInt] under the hood

Constants§

SMALL_PRIMES
A static table of small primes

Traits§

LucasUtils
Utilities for the Lucas pseudoprime test
PrimalityBase
A dummy trait for integer type. All types that implements this and PrimalityRefBase will be supported by most functions in num-primes
PrimalityRefBase
A dummy trait for integer reference type. All types that implements this and PrimalityBase will be supported by most functions in num-primes

Type Aliases§

SmallMint