Natural logarithm of self.

assert 0.0.log.is_inf == -1
assert 1.0.log == 0.0

Property definitions

core :: math $ Float :: log
	# Natural logarithm of `self`.
	#
	#     assert 0.0.log.is_inf == -1
	#     assert 1.0.log == 0.0
	fun log: Float `{ return log(self); `}
lib/core/math.nit:260,2--264,39