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.
arrays
Const-generic fixed-size numeric arrays.
constants
High-precision mathematical constants, in f64 and f32 widths.
error
Error taxonomy shared by the whole ecosystem.
float
Floating-point utilities beyond the standard library surface: accurate expm1/log1p, exact summation, isclose, and the classic frexp/ldexp/modf/nextafter decomposition functions.
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.