1 | /* The <math.h> header contains prototypes for mathematical functions. */
|
---|
2 |
|
---|
3 | #ifndef _MATH_H
|
---|
4 | #define _MATH_H
|
---|
5 |
|
---|
6 | #ifndef _ANSI_H
|
---|
7 | #include <ansi.h>
|
---|
8 | #endif
|
---|
9 |
|
---|
10 | #define HUGE_VAL (__huge_val()) /* may be infinity */
|
---|
11 |
|
---|
12 | /* Function Prototypes. */
|
---|
13 | _PROTOTYPE( double __huge_val, (void) );
|
---|
14 | _PROTOTYPE( int __IsNan, (double _x) );
|
---|
15 |
|
---|
16 | _PROTOTYPE( double acos, (double _x) );
|
---|
17 | _PROTOTYPE( double asin, (double _x) );
|
---|
18 | _PROTOTYPE( double atan, (double _x) );
|
---|
19 | _PROTOTYPE( double atan2, (double _y, double _x) );
|
---|
20 | _PROTOTYPE( double ceil, (double _x) );
|
---|
21 | _PROTOTYPE( double cos, (double _x) );
|
---|
22 | _PROTOTYPE( double cosh, (double _x) );
|
---|
23 | _PROTOTYPE( double exp, (double _x) );
|
---|
24 | _PROTOTYPE( double fabs, (double _x) );
|
---|
25 | _PROTOTYPE( double floor, (double _x) );
|
---|
26 | _PROTOTYPE( double fmod, (double _x, double _y) );
|
---|
27 | _PROTOTYPE( double frexp, (double _x, int *_exp) );
|
---|
28 | _PROTOTYPE( double ldexp, (double _x, int _exp) );
|
---|
29 | _PROTOTYPE( double log, (double _x) );
|
---|
30 | _PROTOTYPE( double log10, (double _x) );
|
---|
31 | _PROTOTYPE( double modf, (double _x, double *_iptr) );
|
---|
32 | _PROTOTYPE( double pow, (double _x, double _y) );
|
---|
33 | _PROTOTYPE( double sin, (double _x) );
|
---|
34 | _PROTOTYPE( double sinh, (double _x) );
|
---|
35 | _PROTOTYPE( double sqrt, (double _x) );
|
---|
36 | _PROTOTYPE( double tan, (double _x) );
|
---|
37 | _PROTOTYPE( double tanh, (double _x) );
|
---|
38 | _PROTOTYPE( double hypot, (double _x, double _y) );
|
---|
39 |
|
---|
40 | #ifdef _POSIX_SOURCE /* STD-C? */
|
---|
41 | #include <mathconst.h>
|
---|
42 | #endif
|
---|
43 |
|
---|
44 | #endif /* _MATH_H */
|
---|