Pair arithmetic is a numerical representation method designed to extend the precision of floating-point computations by splitting a value into a main part and a remainder part. This approach mitigates rounding errors that arise in standard floating-point arithmetic, particularly for operations involving numbers of vastly different magnitudes.
A pair
represents a real number
as the sum of two floating-point values:

where:
is the main value, a floating-point number capturing the significant digits of
.
is the remainder, a floating-point number representing the residual part of
that is too small to be accurately
represented in
alone.
The pair
satisfies the condition:

where
(unit in the last place) denotes the spacing between
and the next representable floating-point value. This
ensures
is negligible relative to
but still contributes to the overall precision of
.