Skip to main content

Crate mathverse_core

Crate mathverse_core 

Source
Expand description

Shared substrate for the MathVerse ecosystem.

Everything here is generic over the traits::Num hierarchy, works under no_std, and has zero dependencies beyond core/alloc.

Modulesยง

algorithms
Common integer algorithms: number theory basics and combinatorics.
constants
High-precision mathematical constants, in f64 and f32 widths.
error
Error taxonomy shared by the whole ecosystem.
integer
Core integer algorithms: GCD, LCM, modular arithmetic, root-finding, prime utilities, combinatorics, digit operations, and special numbers.
ops
Generic scalar operations over Real.
precision
Floating-point comparison and rounding utilities.
prelude
One-line imports for the whole core crate.
traits
Numeric abstraction traits.