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, so 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 bound is useful even
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.
A finite value whose magnitude fits in the destination's finite range stays finite under
conversion. With abs_toReal_cast_sub_le this discharges the output hypothesis from the input.
IEEE-source specialization of abs_toReal_cast_sub_le_of_isIEEE_destination.
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.
IEEE-source specialization of cast_exact_mem_Icc_of_isIEEE_destination.
The residual of finite nearest-even addition is representable in the same format.