Guaranteed error bounds for every answer, computed in pure Rust. Free and open source, built by the Accumath team for the community.
Interval (ball) arithmetic with rigorous error bounds, built on zenith-float. Every result carries a proven enclosure: a midpoint and a radius, where the true value is guaranteed to lie within midpoint ± radius. No guessing, no heuristic estimates — a mathematical proof that the answer is correct to the stated precision.
Current version 0.1.0 (in development) · License MIT OR Apache-2.0
A ball is {mid: ExactNum, rad: Mag, prec: u32}. Mid is the best estimate, computed with zenith-float's correctly-rounded arithmetic. Rad is the error radius, always rounded up, so the enclosure is guaranteed. Mag is a 64-bit mantissa with an i64 exponent, always rounded up. The crate is #![forbid(unsafe_code)], no IEEE floats, no C dependencies. Ports puremp (MIT) with credit.
Source on GitHub
L0 is committed, with 20,954 mpmath goldens. The wide-range suite is 78 tests, which caught 5 of 6 planted bugs (the 6th was an equivalent mutant). An item is listed here only when it is built, has tests, and those tests pass.
All open-source projects Buy a pre-release Accumath license — $25+