ack/lang/cem/libcc.ansi/headers/math.h

41 lines
805 B
C
Raw Normal View History

1989-05-16 13:13:53 +00:00
/*
* math.h - mathematics
*/
/* $Header$ */
1989-12-18 14:00:32 +00:00
#if !defined(_MATH_H)
#define _MATH_H
1989-05-16 13:13:53 +00:00
1989-09-29 15:46:33 +00:00
#define HUGE_VAL 9.9e+999 /* though it will generate a warning */
1989-05-16 13:13:53 +00:00
1989-09-29 15:46:33 +00:00
double acos(double __x);
double asin(double __x);
double atan(double __x);
double atan2(double __y, double __x);
1989-05-16 13:13:53 +00:00
1989-09-29 15:46:33 +00:00
double cos(double __x);
double sin(double __x);
double tan(double __x);
1989-05-16 13:13:53 +00:00
1989-09-29 15:46:33 +00:00
double cosh(double __x);
double sinh(double __x);
double tanh(double __x);
1989-05-16 13:13:53 +00:00
1989-09-29 15:46:33 +00:00
double exp(double __x);
double log(double __x);
double log10(double __x);
1989-05-16 13:13:53 +00:00
1989-09-29 15:46:33 +00:00
double sqrt(double __x);
double ceil(double __x);
double fabs(double __x);
double floor(double __x);
1989-05-16 13:13:53 +00:00
1989-09-29 15:46:33 +00:00
double pow(double __x, double __y);
1989-05-16 13:13:53 +00:00
1989-09-29 15:46:33 +00:00
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 */