1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" Distributed under GPL
4 .TH CLOG 3 2002-07-28 "" "complex math routines"
6 clog, clogf, clogl \- natural logarithm of a complex number
8 .B #include <complex.h>
10 .BI "double complex clog(double complex " z );
12 .BI "float complex clogf(float complex " z );
14 .BI "long double complex clogl(long double complex " z );
18 The logarithm clog() is the inverse function of the exponential cexp().
19 Thus, if y = clog(z), then z = cexp(y).
22 is chosen in the interval [\-pi,pi].
24 One has clog(z) = log(cabs(z))+I*carg(z).
28 close to zero will cause an overflow.