Rounding and saturation
You will learn
What truncation, rounding and convergent rounding do to a value and to its average, and when to wrap or saturate.
Dropping low bits is truncation, and truncation is biased: on a ramp its mean error is -0.25 LSB for one dropped bit and tends to -0.5 as more go. Round half up is biased the other way, +0.25 for one bit; convergent rounding sends ties to the even neighbour and averages to 0. Outside the range a two's complement adder wraps for free, turning 1.0 into -1.0 in Q1.15; saturation costs a comparator and keeps the sign. The spec fixed_point.t27 measures all three modes on a ramp.