Calculate a scaled Lanczos sum for the approximation of the gamma function.
Arbitrary constant g
to be used in Lanczos approximation functions.
Calculate the Lanczos sum for the approximation of the gamma function.
Like Array.prototype.find, but for finding the closest match.
Compute the hypotenuse using the alpha max plus beta min algorithm.