`f64::approx_from(usize)` works on 64 bit systems but seems to fail on 32 bit systems. See https://github.com/vks/average/issues/3.