]> git.ipfire.org Git - thirdparty/man-pages.git/blob - man3/sincos.3
Compressed synopsis as per Fabian Kreutz's suggestion
[thirdparty/man-pages.git] / man3 / sincos.3
1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" Distributed under GPL, 2002-07-27 Walter Harms
3 .\"
4 .TH sincos 3 2004-10-05 "GNU" "Linux Programmer's Manual"
5 .SH NAME
6 sincos, sincosf, sincosl \- calculate sin and cos simultaneously
7 .SH SYNOPSIS
8 .nf
9 .B #include <math.h>
10 .sp
11 .BI "void sincos(double " x ", double *" sin ", double *" cos );
12 .br
13 .BI "void sincosf(float " x ", float *" sin ", float *" cos );
14 .br
15 .BI "void sincosl(long double " x ", long double *" sin ", long double *" cos );
16 .fi
17 .sp
18 Link with \-lm.
19 .SH DESCRIPTION
20 Several applications need sine and cosine of the same angle
21 .IR x .
22 This function computes both at the same time, and stores the results
23 via the given pointers.
24 .SH "CONFORMING TO"
25 This function is a GNU extension.
26 .SH "SEE ALSO"
27 .BR cos (3),
28 .BR sin (3),
29 .BR tan (3)