aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-02-27 22:35:46 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2022-02-27 22:35:46 +0100
commitd21ffca73153fe1fcbccacf08fc110a93a6f281a (patch)
tree7eab96927419017b70128e1a7247688e2d817e46 /man3
parent4d8af9555274799dcd9f70c8ce3c29f30af1fa2f (diff)
downloadman-pages-d21ffca73153fe1fcbccacf08fc110a93a6f281a.tar.gz
remainder.3: Add LIBRARY section (libm)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/remainder.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/remainder.3 b/man3/remainder.3
index 126a8523aa..61ff846e89 100644
--- a/man3/remainder.3
+++ b/man3/remainder.3
@@ -18,6 +18,9 @@
.SH NAME
drem, dremf, dreml, remainder, remainderf, remainderl \- \
floating-point remainder function
+.SH LIBRARY
+Math library
+.RI ( libm ", " -lm )
.SH SYNOPSIS
.nf
.B #include <math.h>
@@ -32,8 +35,6 @@ floating-point remainder function
.BI "float dremf(float " x ", float " y );
.BI "long double dreml(long double " x ", long double " y );
.PP
-.fi
-Link with \fI\-lm\fP.
.PP
.RS -4
Feature Test Macro Requirements for glibc (see