summaryrefslogtreecommitdiffstats
path: root/man3/cimag.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man3/cimag.39
1 files changed, 4 insertions, 5 deletions
diff --git a/man3/cimag.3 b/man3/cimag.3
index 4a9293e..d369cf8 100644
--- a/man3/cimag.3
+++ b/man3/cimag.3
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: GPL-1.0-or-later
.\"
-.TH cimag 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH cimag 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
cimag, cimagf, cimagl \- get imaginary part of a complex number
.SH LIBRARY
@@ -12,7 +12,7 @@ Math library
.SH SYNOPSIS
.nf
.B #include <complex.h>
-.PP
+.P
.BI "double cimag(double complex " z );
.BI "float cimagf(float complex " z );
.BI "long double cimagl(long double complex " z );
@@ -20,9 +20,9 @@ Math library
.SH DESCRIPTION
These functions return the imaginary part of the complex number
.IR z .
-.PP
+.P
One has:
-.PP
+.P
.in +4n
.EX
z = creal(z) + I * cimag(z)
@@ -44,7 +44,6 @@ T{
.BR cimagl ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH VERSIONS
GCC also supports __imag__.
That is a GNU extension.