2008-10-16 Joseph Myers <joseph@codesourcery.com>
[official-gcc.git] / libjava / java / lang / StrictMath.h
blobd37d5d66848925990dd2da830d419da64c177767
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_lang_StrictMath__
5 #define __java_lang_StrictMath__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
13 class java::lang::StrictMath : public ::java::lang::Object
16 StrictMath();
17 public:
18 static jint abs(jint);
19 static jlong abs(jlong);
20 static jfloat abs(jfloat);
21 static jdouble abs(jdouble);
22 static jint min(jint, jint);
23 static jlong min(jlong, jlong);
24 static jfloat min(jfloat, jfloat);
25 static jdouble min(jdouble, jdouble);
26 static jint max(jint, jint);
27 static jlong max(jlong, jlong);
28 static jfloat max(jfloat, jfloat);
29 static jdouble max(jdouble, jdouble);
30 static jdouble sin(jdouble);
31 static jdouble cos(jdouble);
32 static jdouble tan(jdouble);
33 static jdouble asin(jdouble);
34 static jdouble acos(jdouble);
35 static jdouble atan(jdouble);
36 static jdouble atan2(jdouble, jdouble);
37 static jdouble sinh(jdouble);
38 static jdouble cosh(jdouble);
39 static jdouble tanh(jdouble);
40 private:
41 static jlong getLowDWord(jlong);
42 static jlong getHighDWord(jlong);
43 static jdouble buildDouble(jlong, jlong);
44 public:
45 static jdouble cbrt(jdouble);
46 static jdouble exp(jdouble);
47 static jdouble expm1(jdouble);
48 static jdouble log(jdouble);
49 static jdouble sqrt(jdouble);
50 static jdouble pow(jdouble, jdouble);
51 static jdouble IEEEremainder(jdouble, jdouble);
52 static jdouble ceil(jdouble);
53 static jdouble floor(jdouble);
54 static jdouble rint(jdouble);
55 static jint round(jfloat);
56 static jlong round(jdouble);
57 static jdouble random();
58 static jdouble toRadians(jdouble);
59 static jdouble toDegrees(jdouble);
60 private:
61 static jint remPiOver2(jdouble, JArray< jdouble > *);
62 static jint remPiOver2(JArray< jdouble > *, JArray< jdouble > *, jint, jint);
63 static jdouble scale(jdouble, jint);
64 static jdouble sin(jdouble, jdouble);
65 static jdouble cos(jdouble, jdouble);
66 static jdouble tan(jdouble, jdouble, jboolean);
67 public:
68 static jdouble signum(jdouble);
69 static jfloat signum(jfloat);
70 static jdouble ulp(jdouble);
71 static jfloat ulp(jfloat);
72 private:
73 static ::java::util::Random * rand;
74 public:
75 static jdouble E;
76 static jdouble PI;
77 private:
78 static jdouble TWO_16;
79 static jdouble TWO_20;
80 static jdouble TWO_24;
81 static jdouble TWO_27;
82 static jdouble TWO_28;
83 static jdouble TWO_29;
84 static jdouble TWO_31;
85 static jdouble TWO_49;
86 static jdouble TWO_52;
87 static jdouble TWO_54;
88 static jdouble TWO_57;
89 static jdouble TWO_60;
90 static jdouble TWO_64;
91 static jdouble TWO_66;
92 static jdouble TWO_1023;
93 static JArray< jint > * TWO_OVER_PI;
94 static JArray< jdouble > * PI_OVER_TWO;
95 static jdouble PI_L;
96 static jdouble PIO2_1;
97 static jdouble PIO2_1L;
98 static jdouble PIO2_2;
99 static jdouble PIO2_2L;
100 static jdouble PIO2_3;
101 static jdouble PIO2_3L;
102 static jdouble SQRT_1_5;
103 static jdouble SQRT_2;
104 static jdouble SQRT_3;
105 static jdouble EXP_LIMIT_H;
106 static jdouble EXP_LIMIT_L;
107 static jdouble CP;
108 static jdouble CP_H;
109 static jdouble CP_L;
110 static jdouble LN2;
111 static jdouble LN2_H;
112 static jdouble LN2_L;
113 static jdouble INV_LN2;
114 static jdouble INV_LN2_H;
115 static jdouble INV_LN2_L;
116 static jdouble LG1;
117 static jdouble LG2;
118 static jdouble LG3;
119 static jdouble LG4;
120 static jdouble LG5;
121 static jdouble LG6;
122 static jdouble LG7;
123 static jdouble L1;
124 static jdouble L2;
125 static jdouble L3;
126 static jdouble L4;
127 static jdouble L5;
128 static jdouble L6;
129 static jdouble P1;
130 static jdouble P2;
131 static jdouble P3;
132 static jdouble P4;
133 static jdouble P5;
134 static jdouble DP_H;
135 static jdouble DP_L;
136 static jdouble OVT;
137 static jdouble S1;
138 static jdouble S2;
139 static jdouble S3;
140 static jdouble S4;
141 static jdouble S5;
142 static jdouble S6;
143 static jdouble C1;
144 static jdouble C2;
145 static jdouble C3;
146 static jdouble C4;
147 static jdouble C5;
148 static jdouble C6;
149 static jdouble T0;
150 static jdouble T1;
151 static jdouble T2;
152 static jdouble T3;
153 static jdouble T4;
154 static jdouble T5;
155 static jdouble T6;
156 static jdouble T7;
157 static jdouble T8;
158 static jdouble T9;
159 static jdouble T10;
160 static jdouble T11;
161 static jdouble T12;
162 static jdouble PS0;
163 static jdouble PS1;
164 static jdouble PS2;
165 static jdouble PS3;
166 static jdouble PS4;
167 static jdouble PS5;
168 static jdouble QS1;
169 static jdouble QS2;
170 static jdouble QS3;
171 static jdouble QS4;
172 static jdouble ATAN_0_5H;
173 static jdouble ATAN_0_5L;
174 static jdouble ATAN_1_5H;
175 static jdouble ATAN_1_5L;
176 static jdouble AT0;
177 static jdouble AT1;
178 static jdouble AT2;
179 static jdouble AT3;
180 static jdouble AT4;
181 static jdouble AT5;
182 static jdouble AT6;
183 static jdouble AT7;
184 static jdouble AT8;
185 static jdouble AT9;
186 static jdouble AT10;
187 static const jint CBRT_B1 = 715094163;
188 static const jint CBRT_B2 = 696219795;
189 static jdouble CBRT_C;
190 static jdouble CBRT_D;
191 static jdouble CBRT_E;
192 static jdouble CBRT_F;
193 static jdouble CBRT_G;
194 static jdouble EXPM1_Q1;
195 static jdouble EXPM1_Q2;
196 static jdouble EXPM1_Q3;
197 static jdouble EXPM1_Q4;
198 static jdouble EXPM1_Q5;
199 public:
200 static ::java::lang::Class class$;
203 #endif // __java_lang_StrictMath__