Skip to main content

Module algorithms

Module algorithms 

Source
Expand description

Common integer algorithms: number theory basics and combinatorics.

All functions in this module operate on u64 or u128 integers. They cover GCD/LCM, prime number utilities, combinatorial functions, and digit-based operations.

Canonical implementations live in crate::integer. This module re-exports them for backward compatibility.

Re-exportsยง

pub use crate::integer::*;