1sincos(3M)              Mathematical Library Functions              sincos(3M)
2
3
4

NAME

6       sincos, sincosf, sincosl - combined sine and cosine function
7

SYNOPSIS

9       c99 [ flag... ] file... -lm [ library... ]
10       #include <math.h>
11
12       void sincos(double x, double *s, double *c);
13
14
15       void sincosf(float x, float *s, float *c);
16
17
18       void sincosl(long double x, long double *s, long double *c);
19
20

DESCRIPTION

22       These  functions  compute  the sine and cosine of the first argument x,
23       measured in radians.
24

RETURN VALUES

26       Upon successful completion, these functions return the sine of x in  *s
27       and cosine of x in *c.
28

ATTRIBUTES

30       See attributes(5) for descriptions of the following attributes:
31
32
33
34
35       ┌─────────────────────────────┬─────────────────────────────┐
36       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
37       ├─────────────────────────────┼─────────────────────────────┤
38       │Interface Stability          │Stable                       │
39       ├─────────────────────────────┼─────────────────────────────┤
40       │MT-Level                     │MT-Safe                      │
41       └─────────────────────────────┴─────────────────────────────┘
42

SEE ALSO

44       cos(3M), sin(3M), math.h(3HEAD), attributes(5)
45
46
47
48SunOS 5.11                        12 Jul 2006                       sincos(3M)
Impressum