Module num_prime::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§

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

Constants§

Traits§

  • Utilities for the Lucas pseudoprime test
  • A dummy trait for integer type. All types that implements this and PrimalityRefBase will be supported by most functions in num-primes
  • 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§