Continuous signal / discrete lattice

Quantized Ruler

Drag the cyan marker along the continuous rail. Gold marks are the representable values; the pink segment isolates the rounding error.

Quantization

p = 0.25
Chosen precision units
Continuous x 2.370
Quantized Q(x) 2.250
Absolute error 0.120
Residual x − Q(x) +0.120
Continuous marker and projection
Nearest representable value
Separate rounding-error segment
DRAG CYAN MARKER · ORBIT EMPTY SPACE · WHEEL TO ZOOM