ln¶ In std/math. fn ln(self: Float) : Float The natural logarithm of self: ln(1.0f) is 0.0. A result that is not a finite number, as for a self of 0 or below, is an evaluation error.