Logarithm of self to base base.

assert 100.0.log_base(10.0) == 2.0
assert 256.0.log_base(2.0) == 8.0

Property definitions

core :: math $ Float :: log_base
	# Logarithm of `self` to base `base`.
	#
	#     assert 100.0.log_base(10.0) == 2.0
	#     assert 256.0.log_base(2.0) == 8.0
	fun log_base(base: Float): Float do return log/base.log
lib/core/math.nit:266,2--270,56