Skip to content

mp-numerics — Mixed-Precision Numerical Methods

Where does each number system stop being usable? mp-numerics runs classic numerical methods in IEEE, posit, takum, cfloat, lns, fixed-point and multi-component arithmetic, and measures the answer exactly.

The integration layer

MTL5 is the linear-algebra layer and does not depend on Universal. mp-numerics is where its algorithms meet Universal’s number types.

Measured exactly

Computed values are read out of the number type as exact expansions, so a reported error is the error of the arithmetic, not of the measurement.

Reproducible

Every committed result carries a .sysinfo sidecar with the platform, compiler and the commits of mp-numerics, MTL5 and Universal it was run against.

Organized by method

Quadrature, root finding, interpolation, optimization, approximation and linear algebra, each with applications, benchmarks and tests.