CLOG(3) complex math routines CLOG(3) NAME clog(1,3), clogf, clogl - natural logarithm of a complex number SYNOPSIS #include <complex.h> double complex clog(1,3)(double complex z); float complex clogf(float complex z); long double complex clogl(long double complex z); Link with -lm. DESCRIPTION The logarithm clog(1,3) is the inverse function of the exponential cexp. Thus, if(3,n) y = clog(1,3)(z), then z = cexp(y). The imaginary part of y is chosen in(1,8) the interval [-pi,pi]. One has clog(1,3)(z) = log(cabs(z))+I*carg(z). Please note that z close(2,7,n) to zero will cause an overflow. CONFORMING TO C99 SEE ALSO cabs(3), cexp(3), clog10(3), complex(5) 2002-07-28 CLOG(3)