Precision Arithmetic: A New Floating-Point Arithmetic
Chengpu Wang
TL;DR
This work introduces precision arithmetic, a deterministic floating-point framework that tracks and bounds uncertainty using a central-limit-theorem–based, truncated-Gaussian model under an uncorrelated-uncertainty assumption. It replaces worst-case interval bounds with probabilistic uncertainty propagation, preserving the scaling and recovering principles and representing numbers as $S\sim R\,2^E$ with a controlled rounding-up mechanism. The paper develops analytic tools for addition, subtraction, multiplication, division, and function evaluation, extends to Taylor expansion, and validates the approach through FFT benchmarks, matrix inversion, recursive sine calculations, Taylor/Taylor expansions, and numerical integration, demonstrating improved uncertainty tracking and more realistic bounding than interval arithmetic. It also discusses implementation details, computational costs, and avenues for improvement, including hardware optimizations and calibration to manage dependency effects in progressive algorithms. The results indicate precision arithmetic offers a practical, statistically grounded alternative to interval arithmetic for normal usages, with a clear framework for validation and comparison across common numerical tasks.
Abstract
A new deterministic floating-point arithmetic called precision arithmetic is developed to track precision for arithmetic calculations. It uses a novel rounding scheme to avoid excessive rounding error propagation of conventional floating-point arithmetic. Unlike interval arithmetic, its uncertainty tracking is based on statistics and the central limit theorem, with a much tighter bounding range. Its stable rounding error distribution is approximated by a truncated normal distribution. Generic standards and systematic methods for validating uncertainty-bearing arithmetics are discussed. The precision arithmetic is found to be better than interval arithmetic in both uncertainty-tracking and uncertainty-bounding for normal usages. The precision arithmetic is available publicly at http://precisionarithm.sourceforge.net.
