aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-02-27 22:23:18 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2022-02-27 22:23:18 +0100
commitb267060ad34f452c0ee13d8666d6355783f08e50 (patch)
tree0ce14a38040b911b81e217ff18a9b37e655c636e
parentad3209fc52126c70c34cae8429c601f9d1f0197f (diff)
downloadman-pages-b267060ad34f452c0ee13d8666d6355783f08e50.tar.gz
scalb.3, scalbln.3: Add LIBRARY section (libm)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man3/scalb.35
-rw-r--r--man3/scalbln.35
2 files changed, 6 insertions, 4 deletions
diff --git a/man3/scalb.3 b/man3/scalb.3
index 921b3b3fb1..9ed4244a68 100644
--- a/man3/scalb.3
+++ b/man3/scalb.3
@@ -8,6 +8,9 @@
.SH NAME
scalb, scalbf, scalbl \- multiply floating-point number
by integral power of radix (OBSOLETE)
+.SH LIBRARY
+Math library
+.RI ( libm ", " -lm )
.SH SYNOPSIS
.nf
.B #include <math.h>
@@ -17,8 +20,6 @@ by integral power of radix (OBSOLETE)
.BI "long double scalbl(long double " x ", long double " exp );
.fi
.PP
-Link with \fI\-lm\fP.
-.PP
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
diff --git a/man3/scalbln.3 b/man3/scalbln.3
index ee7787722c..564c292dfd 100644
--- a/man3/scalbln.3
+++ b/man3/scalbln.3
@@ -8,6 +8,9 @@
.SH NAME
scalbn, scalbnf, scalbnl, scalbln, scalblnf, scalblnl \-
multiply floating-point number by integral power of radix
+.SH LIBRARY
+Math library
+.RI ( libm ", " -lm )
.SH SYNOPSIS
.nf
.B #include <math.h>
@@ -21,8 +24,6 @@ multiply floating-point number by integral power of radix
.BI "long double scalbnl(long double " x ", int " exp );
.fi
.PP
-Link with \fI\-lm\fP.
-.PP
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):