diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:41:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:41:07 +0000 |
commit | 3af6d22bb3850ab2bac67287e3a3d3b0e32868e5 (patch) | |
tree | 3ee7a3ec64525911fa865bb984c86d997d855527 /man3/clog.3 | |
parent | Adding debian version 6.05.01-1. (diff) | |
download | manpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.tar.xz manpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.zip |
Merging upstream version 6.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man3/clog.3')
-rw-r--r-- | man3/clog.3 | 13 |
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 |