aboutsummaryrefslogtreecommitdiffstats
path: root/man3/clog.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/clog.3')
-rw-r--r--man3/clog.310
1 files changed, 7 insertions, 3 deletions
diff --git a/man3/clog.3 b/man3/clog.3
index cc31e2c340..e6cea885fc 100644
--- a/man3/clog.3
+++ b/man3/clog.3
@@ -1,7 +1,7 @@
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL
.\"
-.TH CLOG 3 2002-07-28 "" "Linux Programmer's Manual"
+.TH CLOG 3 2007-12-26 "" "Linux Programmer's Manual"
.SH NAME
clog, clogf, clogl \- natural logarithm of a complex number
.SH SYNOPSIS
@@ -19,12 +19,16 @@ The logarithm
.BR clog ()
is the inverse function of the exponential
.BR cexp (3).
-Thus, if y = clog(z), then z = cexp(y).
+Thus, if \fIy\ =\ clog(z)\fP, then \fIz\ =\ cexp(y)\fP.
The imaginary part of
.I y
is chosen in the interval [\-pi,pi].
.LP
-One has clog(z) = log(cabs(z)) + I * carg(z).
+One has:
+.nf
+
+ clog(z) = log(cabs(z)) + I * carg(z)
+.fi
.LP
Note that
.I z