Rounding Predicates #
Semantic specifications for directed, toward-zero, and nearest rounding. They are independent of
any radix or concrete format: a predicate F : ℝ → Prop identifies the representable values, and
the point predicates characterize the required output among those values.
These definitions correspond to Flocq's Rnd_DN_pt, Rnd_UP_pt, Rnd_ZR_pt, and Rnd_N_pt.
A downward rounding point is unique.
An upward rounding point is unique.
A representable value is its own downward rounding point.
A representable value is its own upward rounding point.
Negation turns a downward point into an upward point for a symmetric format.
Negation turns an upward point into a downward point for a symmetric format.
Any representable value lies below the downward point or above the upward point.
A representable value no farther than both directed neighbors is globally nearest. Every other representable value lies outside the interval between those neighbors.