Order-theoretic representable neighbors #
Directed and stochastic quantizers need the representable values immediately below and above an exact input. These predicates use only a numerical system's denotation and the order on its finite scalar domain. They do not assume a radix, field layout, unique encoding, or executable search algorithm.
code represents the greatest representable scalar not exceeding input.
Instances For
code represents the least representable scalar not smaller than input.
Instances For
Lower neighbors are greatest elements of the representable values below the input.
Upper neighbors are least elements of the representable values above the input.
Two codes bracket an input by its lower and upper representable neighbors.
Instances For
A lower-neighbor code has a finite denotation.
An upper-neighbor code has a finite denotation.
Every lower-neighbor value lies below its exact input.
Every upper-neighbor value lies above its exact input.