1989-05-16 13:13:53 +00:00
|
|
|
/*
|
|
|
|
* math.h - mathematics
|
|
|
|
*/
|
1994-06-24 14:02:31 +00:00
|
|
|
/* $Id$ */
|
1989-05-16 13:13:53 +00:00
|
|
|
|
1989-12-18 14:00:32 +00:00
|
|
|
#if !defined(_MATH_H)
|
|
|
|
#define _MATH_H
|
1989-05-16 13:13:53 +00:00
|
|
|
|
1990-10-24 14:31:50 +00:00
|
|
|
double __huge_val(void); /* may be infinity */
|
|
|
|
#define HUGE_VAL (__huge_val())
|
1989-05-16 13:13:53 +00:00
|
|
|
|
1991-03-19 16:51:28 +00:00
|
|
|
int __IsNan(double d); /* test for Not A Number */
|
|
|
|
|
1990-01-29 10:09:00 +00:00
|
|
|
double acos(double _x);
|
|
|
|
double asin(double _x);
|
|
|
|
double atan(double _x);
|
|
|
|
double atan2(double _y, double _x);
|
|
|
|
|
|
|
|
double cos(double _x);
|
|
|
|
double sin(double _x);
|
|
|
|
double tan(double _x);
|
|
|
|
|
|
|
|
double cosh(double _x);
|
|
|
|
double sinh(double _x);
|
|
|
|
double tanh(double _x);
|
|
|
|
|
|
|
|
double exp(double _x);
|
|
|
|
double log(double _x);
|
|
|
|
double log10(double _x);
|
|
|
|
|
|
|
|
double sqrt(double _x);
|
|
|
|
double ceil(double _x);
|
|
|
|
double fabs(double _x);
|
|
|
|
double floor(double _x);
|
|
|
|
|
|
|
|
double pow(double _x, double _y);
|
|
|
|
|
|
|
|
double frexp(double _x, int *_exp);
|
|
|
|
double ldexp(double _x, int _exp);
|
|
|
|
double modf(double _x, double *_iptr);
|
|
|
|
double fmod(double _x, double _y);
|
1989-05-16 13:13:53 +00:00
|
|
|
|
1989-12-18 14:00:32 +00:00
|
|
|
#endif /* _MATH_H */
|