math.h 869 B

1234567891011121314151617181920212223242526272829303132
  1. #define M_PI 3.1415926
  2. extern double floor(double x);
  3. extern int abs(int j);
  4. extern double pow(double x, double y);
  5. extern double exp(double x);
  6. extern double fmod(double x, double y);
  7. extern double sqrt(double x);
  8. extern double fabs(double x);
  9. extern double sin(double x);
  10. extern double cos(double x);
  11. double frexp(double x, int *exp);
  12. #define HUGE_VAL (__builtin_huge_val())
  13. /* Unimplemented, but stubbed */
  14. extern double acos(double x);
  15. extern double asin(double x);
  16. extern double atan2(double y, double x);
  17. extern double ceil(double x);
  18. extern double cosh(double x);
  19. extern double ldexp(double a, int exp);
  20. extern double log(double x);
  21. extern double log10(double x);
  22. extern double log2(double x);
  23. extern double sinh(double x);
  24. extern double tan(double x);
  25. extern double tanh(double x);
  26. extern double atan(double x);
  27. extern double modf(double x, double *iptr);