diff options
| author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-02-27 21:34:20 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-02-27 21:34:20 +0100 |
| commit | e7c16cbae3baaf0e709e682bc3cfd93c3890da8a (patch) | |
| tree | bd79b3447c611d4a5b53d6dee54a82604b49c8b2 /man3 | |
| parent | f474752aeb7137c34fbc42345b72bfc129615f32 (diff) | |
| download | man-pages-e7c16cbae3baaf0e709e682bc3cfd93c3890da8a.tar.gz | |
sincos.3: Add LIBRARY section (libm)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'man3')
| -rw-r--r-- | man3/sincos.3 | 5 |
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 . |
