home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / e / emxdev8f.zip / MATH.H < prev    next >
C/C++ Source or Header  |  1992-11-18  |  1KB  |  54 lines

  1. /* math.h (emx+gcc) */
  2.  
  3. #if !defined (_MATH_H)
  4. #define _MATH_H
  5.  
  6. #if defined (__cplusplus)
  7. extern "C" {
  8. #endif
  9.  
  10. double acos (double x);
  11. double asin (double x);
  12. double atan (double x);
  13. double atan2 (double y, double x);
  14. double atof (__const__ char *string);
  15. double cbrt (double x);
  16. double ceil (double x);
  17. double cos (double x);
  18. double cosh (double x);
  19. double hypot (double x, double y);
  20. double exp (double x);
  21. double fabs (double x);
  22. double floor (double x);
  23. double fmod (double x, double y);
  24. double frexp (double x, int *exp_ptr);
  25. double ldexp (double x, int exp);
  26. double log (double x);
  27. double log10 (double x);
  28. double modf (double x, double *int_ptr);
  29. double pow (double x, double y);
  30. double rint (double x);
  31. double sin (double x);
  32. double sinh (double x);
  33. double sqrt (double x);
  34. double tan (double x);
  35. double tanh (double x);
  36. double trunc (double x);
  37.  
  38. #if !defined (_ABS)                                    /* see also stdlib.h */
  39. #define _ABS
  40. #if !defined (__GNUC__) || __GNUC__ >= 2
  41. extern int abs (int n);
  42. extern long labs (long n);
  43. #else
  44. static __inline__ int abs (int n) { return (n < 0 ? -n : n); }
  45. static __inline__ long labs (long n) { return (n < 0 ? -n : n); }
  46. #endif
  47. #endif
  48.  
  49. #if defined (__cplusplus)
  50. }
  51. #endif
  52.  
  53. #endif /* !defined (_MATH_H) */
  54.