]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/clog.3
Modified details of interaction of TCP_CORK and TCP_NODELAY
[thirdparty/man-pages.git] / man3 / clog.3
CommitLineData
fea681da
MK
1.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2.\" Distributed under GPL
3.\"
4.TH CLOG 3 2002-07-28 "" "complex math routines"
5.SH NAME
6clog, clogf, clogl \- natural logarithm of a complex number
7.SH SYNOPSIS
8.B #include <complex.h>
9.sp
10.BI "double complex clog(double complex " z );
11.sp
12.BI "float complex clogf(float complex " z );
13.sp
14.BI "long double complex clogl(long double complex " z );
15.sp
16Link with \-lm.
17.SH DESCRIPTION
18The logarithm clog is the inverse function of the exponential cexp.
19Thus, if y = clog(z), then z = cexp(y).
20The imaginary part of y is chosen in the interval [-pi,pi].
21.LP
22One has clog(z) = log(cabs(z))+I*carg(z).
23.LP
24Please note that z close to zero will cause an overflow.
25.SH "CONFORMING TO"
26C99
27.SH "SEE ALSO"
28.BR cabs (3),
29.BR cexp (3),
30.BR clog10 (3),
31.BR complex (5)