Calculates the linear interpolation between two values of a given fractional.
If |t| is 0, |a| is returned, if |t| is 1, |b| is returned, otherwise interpolation/extrapolation equivalent to a + t(b - a) is performed.
Numerical stable version is adapted from http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0811r2.html
Generated using TypeDoc
Calculates the linear interpolation between two values of a given fractional.
If |t| is 0, |a| is returned, if |t| is 1, |b| is returned, otherwise interpolation/extrapolation equivalent to a + t(b - a) is performed.
Numerical stable version is adapted from http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0811r2.html