pub fn classic_ordering_depth3_from_sum(sum: u32) -> u16Expand description
Scale a three-depth sum into the classic 2,048-slot OTZ domain.
This is exactly (sum * 0x155) >> 12. The MIPS sequence factors 0x155 as
5 * 17 * 4 + 1, avoiding two shifts and additions emitted for the flat
constant multiply on MIPS I.