1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
3 .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
4 .\" Distributed under GPL
7 .TH CLOG 3 2008-08-11 "" "Linux Programmer's Manual"
9 clog, clogf, clogl \- natural logarithm of a complex number
11 .B #include <complex.h>
13 .BI "double complex clog(double complex " z );
15 .BI "float complex clogf(float complex " z );
17 .BI "long double complex clogl(long double complex " z );
23 is the inverse function of the exponential
25 Thus, if \fIy\ =\ clog(z)\fP, then \fIz\ =\ cexp(y)\fP.
28 is chosen in the interval [\-pi,pi].
33 clog(z) = log(cabs(z)) + I * carg(z)
38 close to zero will cause an overflow.
40 These functions first appeared in glibc in version 2.1.
50 This page is part of release 3.68 of the Linux
53 A description of the project,
54 information about reporting bugs,
55 and the latest version of this page,
57 \%http://www.kernel.org/doc/man\-pages/.