pub fn clamped_change_bps(new: u64, base: u64) -> ChangeBps
Change from base to new in bps, (new - base) * 10_000 / base, clamped to ±CHANGE_CLAMP_BPS.
base
new
(new - base) * 10_000 / base
CHANGE_CLAMP_BPS
Panics when base is 0.