aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/sqrt.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/sqrt.3 b/man3/sqrt.3
index 5f6d84608d..f2aeb4c8cd 100644
--- a/man3/sqrt.3
+++ b/man3/sqrt.3
@@ -14,6 +14,9 @@
.TH SQRT 3 2021-03-22 "" "Linux Programmer's Manual"
.SH NAME
sqrt, sqrtf, sqrtl \- square root function
+.SH LIBRARY
+Math library
+.RI ( libm ", " -lm )
.SH SYNOPSIS
.nf
.B #include <math.h>
@@ -23,8 +26,6 @@ sqrt, sqrtf, sqrtl \- square root function
.BI "long double sqrtl(long double " x );
.fi
.PP
-Link with \fI\-lm\fP.
-.PP
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):