summaryrefslogtreecommitdiffstats
path: root/man3/clog.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man3/clog.313
1 files changed, 6 insertions, 7 deletions
diff --git a/man3/clog.3 b/man3/clog.3
index 5a75d36..9ada276 100644
--- a/man3/clog.3
+++ b/man3/clog.3
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: GPL-1.0-or-later
.\"
-.TH clog 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH clog 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
clog, clogf, clogl \- natural logarithm of a complex number
.SH LIBRARY
@@ -12,7 +12,7 @@ Math library
.SH SYNOPSIS
.nf
.B #include <complex.h>
-.PP
+.P
.BI "double complex clog(double complex " z );
.BI "float complex clogf(float complex " z );
.BI "long double complex clogl(long double complex " z );
@@ -21,7 +21,7 @@ Math library
These functions calculate the complex natural logarithm of
.IR z ,
with a branch cut along the negative real axis.
-.PP
+.P
The logarithm
.BR clog ()
is the inverse function of the exponential
@@ -30,15 +30,15 @@ Thus, if \fIy\ =\ clog(z)\fP, then \fIz\ =\ cexp(y)\fP.
The imaginary part of
.I y
is chosen in the interval [\-pi,pi].
-.PP
+.P
One has:
-.PP
+.P
.in +4n
.EX
clog(z) = log(cabs(z)) + I * carg(z)
.EE
.in
-.PP
+.P
Note that
.I z
close to zero will cause an overflow.
@@ -58,7 +58,6 @@ T{
.BR clogl ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
C11, POSIX.1-2008.
.SH HISTORY