log

fun log(x: Double, base: Double): Double(source)
fun log(x: Float, base: Float): Float(source)

Logarithm in the given base; a non-positive base or a base of one produces NaN.