Math.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_lang_Math__
  3. #define __java_lang_Math__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. class java::lang::Math : public ::java::lang::Object
  7. {
  8. Math();
  9. public:
  10. static jint abs(jint);
  11. static jlong abs(jlong);
  12. static jfloat abs(jfloat);
  13. static jdouble abs(jdouble);
  14. static jint min(jint, jint);
  15. static jlong min(jlong, jlong);
  16. static jfloat min(jfloat, jfloat);
  17. static jdouble min(jdouble, jdouble);
  18. static jint max(jint, jint);
  19. static jlong max(jlong, jlong);
  20. static jfloat max(jfloat, jfloat);
  21. static jdouble max(jdouble, jdouble);
  22. static jdouble sin(jdouble);
  23. static jdouble cos(jdouble);
  24. static jdouble tan(jdouble);
  25. static jdouble asin(jdouble);
  26. static jdouble acos(jdouble);
  27. static jdouble atan(jdouble);
  28. static jdouble atan2(jdouble, jdouble);
  29. static jdouble exp(jdouble);
  30. static jdouble log(jdouble);
  31. static jdouble sqrt(jdouble);
  32. static jdouble pow(jdouble, jdouble);
  33. static jdouble IEEEremainder(jdouble, jdouble);
  34. static jdouble ceil(jdouble);
  35. static jdouble floor(jdouble);
  36. static jdouble rint(jdouble);
  37. static jint round(jfloat);
  38. static jlong round(jdouble);
  39. static jdouble random();
  40. static jdouble toRadians(jdouble);
  41. static jdouble toDegrees(jdouble);
  42. static jdouble cbrt(jdouble);
  43. static jdouble cosh(jdouble);
  44. static jdouble expm1(jdouble);
  45. static jdouble hypot(jdouble, jdouble);
  46. static jdouble log10(jdouble);
  47. static jdouble log1p(jdouble);
  48. static jdouble signum(jdouble);
  49. static jfloat signum(jfloat);
  50. static jdouble sinh(jdouble);
  51. static jdouble tanh(jdouble);
  52. static jdouble ulp(jdouble);
  53. static jfloat ulp(jfloat);
  54. private:
  55. static ::java::util::Random * rand;
  56. public:
  57. static jdouble E;
  58. static jdouble PI;
  59. static ::java::lang::Class class$;
  60. };
  61. #endif // __java_lang_Math__