aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/sincos.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/sincos.3 b/man3/sincos.3
index 99023bded7..a387ebc097 100644
--- a/man3/sincos.3
+++ b/man3/sincos.3
@@ -7,6 +7,9 @@
.TH SINCOS 3 2021-03-22 "GNU" "Linux Programmer's Manual"
.SH NAME
sincos, sincosf, sincosl \- calculate sin and cos simultaneously
+.SH LIBRARY
+Math library
+.RI ( libm ", " -lm )
.SH SYNOPSIS
.nf
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
@@ -16,8 +19,6 @@ sincos, sincosf, sincosl \- calculate sin and cos simultaneously
.BI "void sincosf(float " x ", float *" sin ", float *" cos );
.BI "void sincosl(long double " x ", long double *" sin ", long double *" cos );
.fi
-.PP
-Link with \fI\-lm\fP.
.SH DESCRIPTION
Several applications need sine and cosine of the same angle
.IR x .