MorphIQ Numerics / Numerical computing
Deterministic numerics for Rust.
Binary64 mathematics with explicit accuracy contracts, reproducible scalar and SIMD results, and no platform libm dependency.
- Double-precision numerical functions
- binary64
- Matching results on supported paths
- Scalar + SIMD
- No platform libm dependency
- no_std
Capabilities
A focused responsibility. A clear interface.
Mathematics and probability
Elementary functions, normal and bivariate-normal probabilities, tail and log-space operations, and seeded random streams. Each API states its domain, special values and numerical guarantee.
Arithmetic and checked solvers
Double-word arithmetic, compensated reductions, finite outward intervals, and reusable checked tridiagonal solves. Admission rules and returned certificates are specific to each operation.
Reproducible execution
A no_std library with no heap allocation or platform libm calls. Optional ARM NEON and x86 SIMD backends preserve each API’s scalar result bits under the documented floating-point environment.
Accuracy
Choose a numerical contract.
Select bounds against the error budget of the composed computation, including cancellation, tails and inverses.
Strong APIs
Correct rounding where established; proved error bounds elsewhere. Each function documents its domain, special values and assurance limits. Correct rounding is not a library-wide promise.
Explicit approximations
The fast namespace offers separate bounded-error APIs for exp, exp_coarse, ln, erfcx, norm_cdf and log_norm_cdf, with matching slice APIs. Feature flags never weaken an existing numerical contract.
Get started
Pin a release. Choose your features.
Pre-release · Rust 1.89+ · MIT OR Apache-2.0
Before 0.1, releases are git tags only. The library is not yet on crates.io. Add this dependency to Cargo.toml:
Cargo.toml
[dependencies.morphiq-numerics]
git = "https://github.com/MorphIQ-Labs/morphiq-numerics"
tag = "v0.0.22"Rust
use morphiq_numerics::{elementary, normal};
assert_eq!(elementary::exp(0.0), 1.0);
assert_eq!(normal::norm_cdf(0.0), 0.5);Explore the family
Related technologies
MorphIQ Risk
Pricing and risk, from contract to portfolio.
Derivatives pricing, volatility surfaces and scenario analysis connect option values, sensitivities and portfolio exposures.
MorphIQ Wave
Signal structure across time and scale.
From Haar and Daubechies wavelets to synchrosqueezed transforms: adaptive decomposition, denoising and cross-asset coherence for batch and streaming analysis.
MorphIQ Markov
Hidden states. Observable evidence.
Hidden-state modeling, filtering, smoothing and parameter estimation for time series—with explicit convergence and numerical diagnostics.