z: a complex number
The result will have an imaginary part between -π and +π.
The natural logarithm is not uniquely defined on complex numbers. You may need to add or subtract an even multiple of π to the imaginary part.
If z is not a valid complex number, #VALUE! is returned.
This function is Excel compatible.