Computes the complex natural logarithm.
#include <complex.h> double complex clog (z) double complex z; float complex clogf (z) float complex z; long double complex clogl (z) long double complex z;
The clog, clogf, and clogl subroutines compute the complex natural (base e) logarithm of z, with a branch cut along the negative real axis.
z | Specifies the value to be computed. |
The clog, clogf, and clogl subroutines return the complex natural logarithm value, in the range of a strip mathematically unbounded along the real axis and in the interval [-i pi, +i pi] along the imaginary axis.
cexp, cexpf, or cexpl Subroutine