return the natural logarithm of the parameter
genType log(genType x)x: Specify the value of which to take the natural logarithm.log returns the natural logarithm of x. i.e., the value 𝑦 which satisfies
$$
x = e^{y}
$$
Results are undefined if x ≤ 0.