def log(x: Real) -> Real: """ Return the natural logarithm of x. Aliases: log | ln """ return _math.log(x)