
#ifndef __MATH_H
#define __MATH_H 1

#define HUGE_VAL        (1e128-1)

/*
  Several of these functions may be well-suited to
  inline-assembly.
*/

double sin(double);
double cos(double);
double tan(double);
double sinh(double);
double cosh(double);
double tanh(double);
double asin(double);
double acos(double);
double atan(double);
double exp(double);
double log(double);
double log10(double);
double pow(double,double);
double sqrt(double);
double ceil(double);
double floor(double);
double fabs(double);
double atan2(double,double);
double ldexp(double,int);
double frexp(double,int *);
double modf(double,double *);
double fmod(double,double);

int    isinf(double);
int    isnan(double);

#define isinf(x) 0
#define isnan(x) 0

#endif
