Standards / Extensions | C or C++ | Dependencies |
---|---|---|
C99 |
both | z/OS V1R7 |
#include <complex.h>
double complex clog(double complex z);
float complex clogf(float complex z);
long double complex clogl(long double complex z);
Function | Hex | IEEE |
---|---|---|
clog | X | X |
clogf | X | X |
clogl | X | X |
The clog() family of functions return the complex natural logarithm value, in the range of a strip, mathematically unbounded along the real axis and in the interval [-i π, +i π] along the imaginary axis.
For an example of a similar function see cacos(), cexp() or cpow().