2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_lang_StrictMath__
5 #define __java_lang_StrictMath__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
13 class java::lang::StrictMath
: public ::java::lang::Object
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
);
41 static jlong
getLowDWord(jlong
);
42 static jlong
getHighDWord(jlong
);
43 static jdouble
buildDouble(jlong
, jlong
);
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
);
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
);
68 static jdouble
signum(jdouble
);
69 static jfloat
signum(jfloat
);
70 static jdouble
ulp(jdouble
);
71 static jfloat
ulp(jfloat
);
73 static ::java::util::Random
* rand
;
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
;
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
;
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
;
172 static jdouble ATAN_0_5H
;
173 static jdouble ATAN_0_5L
;
174 static jdouble ATAN_1_5H
;
175 static jdouble ATAN_1_5L
;
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
;
200 static ::java::lang::Class
class$
;
203 #endif // __java_lang_StrictMath__