Interpolates ratios in log space, so a multiplier halfway between 1 and 4 is 2, not 2.5.
double lerpLog(double a, double b, double f) => math.exp(lerp(math.log(a), math.log(b), f));