source: trunk/minix/include/math.h@ 19

Last change on this file since 19 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 1.5 KB
Line 
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 */
Note: See TracBrowser for help on using the repository browser.