OSDN Git Service

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