From: Alejandro Colomar Date: Sun, 27 Feb 2022 20:33:34 +0000 (+0100) Subject: sqrt.3: Add LIBRARY section (libm) X-Git-Tag: man-pages-5.19-rc1~325 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a02ff13810cb384ff9eeff5042d6a01e8ae86b51;p=thirdparty%2Fman-pages.git sqrt.3: Add LIBRARY section (libm) Signed-off-by: Alejandro Colomar --- 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 @@ -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)):