1SINCOS(3)                  Linux Programmer's Manual                 SINCOS(3)
2
3
4

NAME

6       sincos, sincosf, sincosl - calculate sin and cos simultaneously
7

SYNOPSIS

9       #define _GNU_SOURCE
10       #include <math.h>
11
12       void sincos(double x, double *sin, double *cos);
13       void sincosf(float x, float *sin, float *cos);
14       void sincosl(long double x, long double *sin, long double *cos);
15
16       Link with -lm.
17

DESCRIPTION

19       Several  applications  need  sine and cosine of the same angle x.  This
20       function computes both at the same time, and stores the results via the
21       given pointers.
22

CONFORMING TO

24       This function is a GNU extension.
25

SEE ALSO

27       cos(3), sin(3), tan(3), feature_test_macros(7)
28
29
30
31GNU                               2004-10-05                         SINCOS(3)
Impressum