home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / STORM2.DMS / in.adf / Includes.LHA / math.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-28  |  1.3 KB  |  61 lines

  1. #ifndef INCLUDE_MATH_H
  2. #define INCLUDE_MATH_H
  3.  
  4. /*
  5. **  $VER: math.h 10.1 (19.7.95)
  6. **  Includes Release 40.15
  7. **
  8. **  (C) Copyright 1995 Haage & Partner
  9. **     All Rights Reserved
  10. */
  11.  
  12. #ifdef __cplusplus
  13. # define PARAMETER_BASE short=10
  14. # define PARAMETER_DIGITS short=0
  15.   extern "C" {
  16. #else
  17. # define PARAMETER_BASE short
  18. # define PARAMETER_DIGITS short
  19. #endif
  20.  
  21. char *inttostr(int, char[], PARAMETER_BASE);
  22. char *uinttostr(unsigned, char[], PARAMETER_BASE);
  23. char *vlongtostr(long long, char[], PARAMETER_BASE);
  24. char *uvlongtostr(unsigned long long, char[], PARAMETER_BASE);
  25. char *floattostr(float, char[], PARAMETER_DIGITS);
  26. char *doubletostr(double, char[], PARAMETER_DIGITS);
  27.  
  28. double sin(double);
  29. double cos(double);
  30. double tan(double);
  31. double asin(double);
  32. double acos(double);
  33. double atan(double);
  34. double atan2(double, double);
  35. double sinh(double);
  36. double cosh(double);
  37. double tanh(double);
  38. double exp(double);
  39. double log(double);
  40. double log10(double);
  41. double pow(double,double);
  42. double sqrt(double);
  43. double ceil(double);
  44. double floor(double);
  45. double fabs(double);
  46. double ldexp(double,int);
  47. double frexp(double,int*);
  48. double modf(double,double*);
  49. double fmod(double,double);
  50. double pwr10(int);
  51. int expo10(double);
  52. float fpwr10(int);
  53.  
  54. #ifdef __cplusplus
  55. }
  56. #endif
  57. #undef PARAMETER_BASE
  58. #undef PARAMETER_DIGITS
  59. #endif
  60.  
  61.