Section (3) clog
clog, clogf, clogl — natural logarithm of a complex number
||double complex z
||float complex z
||long double complex z
These functions calculate the complex natural logarithm of
z, with a branch cut
along the negative real axis.
clog() is the
inverse function of the exponential cexp(3). Thus, if
y = clog(z), then
z = cexp(y). The
imaginary part of
y is chosen in
the interval [−pi,pi].
clog(z) = log(cabs(z)) + I * carg(z)
to zero will cause an overflow.
For an explanation of the terms used in this section, see attributes(7).
This page is part of release 4.16 of the Linux
man-pages project. A
description of the project, information about reporting bugs,
and the latest version of this page, can be found at
Copyright 2002 Walter Harms (walter.harmsinformatik.uni-oldenburg.de)
Distributed under GPL