Calculates the natural logarithm of a complex number.
float complex clogf(float complex z);
double complex clog(double complex z);
long double complex clogl(long double complex z);
z Complex number for which natural logarithm is to be computed
Normal: Natural logarithm of z
Abnormal: Domain error: Returns not-a-number.
A domain error occurs if z is negative.
A range error occurs if z is 0.0.
The clog function returns the natural logarithm in the infinite range on the real axis and in the range [–iπ, +iπ] on the imaginary axis.