summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-07-18 00:48:14 +0200
committerAlejandro Colomar <alx@kernel.org>2023-07-18 00:51:01 +0200
commit7f19730b07068ba871da501f498f06d26530882a (patch)
treed82c1414a820e964a3362de889fd6e54339f3a5f
parent30ca0d80dd6dfdf449eaa3ce0195d950464a8beb (diff)
complex.7: Add LIBRARY section (libm)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man7/complex.74
1 files changed, 3 insertions, 1 deletions
diff --git a/man7/complex.7 b/man7/complex.7
index 51690c8b1..ee77be6d7 100644
--- a/man7/complex.7
+++ b/man7/complex.7
@@ -5,6 +5,9 @@
.TH complex 7 (date) "Linux man-pages (unreleased)"
.SH NAME
complex \- basics of complex mathematics
+.SH LIBRARY
+Math library
+.RI ( libm ", " \-lm )
.SH SYNOPSIS
.nf
.B #include <complex.h>
@@ -35,7 +38,6 @@ Nearly all math function have a complex counterpart but there are
some complex-only functions.
.SH EXAMPLES
Your C-compiler can work with complex numbers if it supports the C99 standard.
-Link with \fI\-lm\fP.
The imaginary unit is represented by I.
.PP
.EX