pub fn nominal_backoff_ms(base_ms: u64, cap_ms: u64, retry: u32) -> u64
Nominal (pre-jitter) backoff for retry number retry (1 = the first retry): min(base * 2^(retry-1), cap), saturating on both the shift and the multiply.
retry
min(base * 2^(retry-1), cap)