Error bounds for executable binary floats #
These bounds relate operations on Model fmt to exact real arithmetic. The function toReal
interprets finite values in ℝ, and the format parameter selects the corresponding Flocq-style
grid. This real-valued grid has no upper exponent bound; the executable operation theorems apply
when the result is finite.
The operation theorems require finite inputs and outputs because infinities and NaNs have no real value. Signed zeros both have real value zero.
One unit in the last place at x for the precision and gradual-underflow grid of fmt.
Instances For
Half an ULP at x for the precision and gradual-underflow grid of fmt.
Instances For
The least positive normal magnitude of fmt.
Instances For
The exponent-selection function of every executable format is monotone.
Nearest-even rounding to fmt has at most half an ULP of absolute error.
The format-specific epsilonAt follows the subnormal grid near zero, so this statement remains
useful where a uniform relative-error bound is impossible.
Normal-range nearest-even rounding has the standard relative error bound
2^(1-precision) / 2.
Absolute error of one finite executable division by a nonzero divisor.
Absolute error of one finite executable square root on a nonnegative input, including either signed zero.
Absolute error of one finite executable fused multiply-add.
The exact difference lies in the half-ULP enclosure around executable subtraction.
The exact product lies in the half-ULP enclosure around executable multiplication.
The exact quotient lies in the half-ULP enclosure around executable division.
The exact multiply-add lies in the half-ULP enclosure around executable FMA.
The source real value lies in the half-ULP enclosure around a finite cast.
The residual of finite nearest-even addition is representable in the same format.