home *** CD-ROM | disk | FTP | other *** search
- /* math.h (emx+gcc) */
-
- #if !defined (_MATH_H)
- #define _MATH_H
-
- #if defined (__cplusplus)
- extern "C" {
- #endif
-
- double acos (double x);
- double asin (double x);
- double atan (double x);
- double atan2 (double y, double x);
- double atof (__const__ char *string);
- double cbrt (double x);
- double ceil (double x);
- double cos (double x);
- double cosh (double x);
- double hypot (double x, double y);
- double exp (double x);
- double fabs (double x);
- double floor (double x);
- double fmod (double x, double y);
- double frexp (double x, int *exp_ptr);
- double ldexp (double x, int exp);
- double log (double x);
- double log10 (double x);
- double modf (double x, double *int_ptr);
- double pow (double x, double y);
- double rint (double x);
- double sin (double x);
- double sinh (double x);
- double sqrt (double x);
- double tan (double x);
- double tanh (double x);
- double trunc (double x);
-
- #if !defined (_ABS) /* see also stdlib.h */
- #define _ABS
- #if !defined (__GNUC__) || __GNUC__ >= 2
- extern int abs (int n);
- extern long labs (long n);
- #else
- static __inline__ int abs (int n) { return (n < 0 ? -n : n); }
- static __inline__ long labs (long n) { return (n < 0 ? -n : n); }
- #endif
- #endif
-
- #if defined (__cplusplus)
- }
- #endif
-
- #endif /* !defined (_MATH_H) */
-