|
|||||||||
| Home >> All >> [ Support overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
Support
Class JMath

java.lang.ObjectSupport.JMath
- public final class JMath
- extends java.lang.Object
| Field Summary | |
private static double[] |
aT
|
private static double[] |
atanhi
|
private static double[] |
atanlo
|
private static double[] |
bp
|
private static double |
C1
|
private static double |
C2
|
private static double |
C3
|
private static double |
C4
|
private static double |
C5
|
private static double |
C6
|
private static double |
cp
|
private static double |
cp_h
|
private static double |
cp_l
|
private static double[] |
dp_h
|
private static double[] |
dp_l
|
static double |
E
|
private static double |
half
|
private static double[] |
halF
|
private static double |
huge
|
private static double |
invln2
|
private static double |
invpio2
|
private static double |
ivln2
|
private static double |
ivln2_h
|
private static double |
ivln2_l
|
private static double |
L1
|
private static double |
L2
|
private static double |
L3
|
private static double |
L4
|
private static double |
L5
|
private static double |
L6
|
private static double |
Lg1
|
private static double |
lg2
|
private static double |
Lg2
|
private static double |
lg2_h
|
private static double |
lg2_l
|
private static double |
Lg3
|
private static double |
Lg4
|
private static double |
Lg5
|
private static double |
Lg6
|
private static double |
Lg7
|
private static double |
ln2_hi
|
private static double |
ln2_lo
|
private static double[] |
ln2HI
|
private static double[] |
ln2LO
|
private static double |
NEGATIVE_ZERO
|
private static int[] |
npio2_hw
|
private static double |
o_threshold
|
private static double |
one
|
private static double |
ovt
|
private static double |
P1
|
private static double |
P2
|
private static double |
P3
|
private static double |
P4
|
private static double |
P5
|
static double |
PI
|
private static double |
pi_lo
|
private static double |
pi_o_2
|
private static double |
pi_o_4
|
private static double[] |
PIo2
|
private static double |
pio2_1
|
private static double |
pio2_1t
|
private static double |
pio2_2
|
private static double |
pio2_2t
|
private static double |
pio2_3
|
private static double |
pio2_3t
|
private static double |
pio2_hi
|
private static double |
pio2_lo
|
private static double |
pio4
|
private static double |
pio4_hi
|
private static double |
pio4lo
|
private static double |
pS0
|
private static double |
pS1
|
private static double |
pS2
|
private static double |
pS3
|
private static double |
pS4
|
private static double |
pS5
|
private static double |
qS1
|
private static double |
qS2
|
private static double |
qS3
|
private static double |
qS4
|
private static java.util.Random |
random
|
private static double |
S1
|
private static double |
S2
|
private static double |
S3
|
private static double |
S4
|
private static double |
S5
|
private static double |
S6
|
private static double[] |
T
|
private static double |
tiny
|
private static int[] |
two_over_pi
|
private static double |
two24
|
private static double[] |
TWO52
|
private static double |
two53
|
private static double |
two54
|
private static double |
twom1000
|
private static double |
twom54
|
private static double |
twon24
|
private static double |
u_threshold
|
private static double |
zero
|
| Constructor Summary | |
JMath()
|
|
| Method Summary | |
private static int |
__HI(double x)
|
private static int |
__ieee754_rem_pio2(double x,
double[] y)
|
private static double |
__kernel_cos(double x,
double y)
|
private static int |
__kernel_rem_pio2(double[] x,
double[] y,
int e0,
int nx)
|
(package private) static double |
__kernel_sin(double x,
double y,
int iy)
|
private static double |
__kernel_tan(double x,
double y,
int iy)
|
private static int |
__LO(double x)
|
static double |
abs(double x)
Returns the absolute value of its argument. |
static float |
abs(float x)
Returns the absolute value of its argument. |
static int |
abs(int x)
Returns the absolute value of its argument. |
static long |
abs(long x)
Returns the absolute value of its argument. |
static double |
acos(double x)
Returns the inverse (arc) cosine of its argument. |
static double |
asin(double x)
Returns the inverse (arc) sine of its argument. |
static double |
atan(double x)
Returns the inverse (arc) tangent of its argument. |
static double |
atan2(double y,
double x)
Returns angle corresponding to a Cartesian point. |
static double |
ceil(double x)
Returns the value of its argument rounded toward positive infinity to an integral value. |
private static double |
copysign(double x,
double y)
|
static double |
cos(double x)
Returns the cosine of its argument. |
static double |
exp(double x)
Returns the exponential of its argument. |
static double |
floor(double x)
Returns the value of its argument rounded toward negative infinity to an integral value. |
static double |
IEEEremainder(double x,
double p)
Returns x REM p = x - [x/p]*p as if in infinite precise arithmetic, where [x/p] is the (infinite bit) integer nearest x/p (in half way case choose the even one). |
static double |
log(double x)
Returns the natural logarithm of its argument. |
static double |
max(double x,
double y)
Returns the larger of its two arguments. |
static float |
max(float x,
float y)
Returns the larger of its two arguments. |
static int |
max(int x,
int y)
Returns the larger of its two arguments. |
static long |
max(long x,
long y)
Returns the larger of its two arguments. |
static double |
min(double x,
double y)
Returns the smaller of its two arguments. |
static float |
min(float x,
float y)
Returns the smaller of its two arguments. |
static int |
min(int x,
int y)
Returns the smaller of its two arguments. |
static long |
min(long x,
long y)
Returns the smaller of its two arguments. |
static double |
pow(double x,
double y)
Returns x to the power y. |
static double |
random()
Returns the random number. |
static double |
rint(double x)
Returns the value of its argument rounded toward the closest integral value. |
static long |
round(double x)
Returns the long closest to the arguments. |
static int |
round(float x)
Returns the integer closest to the arguments. |
private static double |
scalbn(double x,
int n)
|
private static double |
set(int newHiPart,
int newLowPart)
|
private static double |
setHI(double x,
int newHiPart)
|
private static double |
setLO(double x,
int newLowPart)
|
static double |
sin(double x)
Returns the sine of its argument. |
static double |
sqrt(double x)
Returns the square root of its argument. |
static double |
tan(double x)
Returns the tangent of its argument. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
PI
public static final double PI
E
public static final double E
- See Also:
- Constant Field Values
random
private static java.util.Random random
huge
private static final double huge
- See Also:
- Constant Field Values
tiny
private static final double tiny
- See Also:
- Constant Field Values
TWO52
private static final double[] TWO52
NEGATIVE_ZERO
private static final double NEGATIVE_ZERO
halF
private static final double[] halF
twom1000
private static final double twom1000
o_threshold
private static final double o_threshold
u_threshold
private static final double u_threshold
ln2HI
private static final double[] ln2HI
ln2LO
private static final double[] ln2LO
invln2
private static final double invln2
P1
private static final double P1
P2
private static final double P2
P3
private static final double P3
P4
private static final double P4
P5
private static final double P5
ln2_hi
private static final double ln2_hi
ln2_lo
private static final double ln2_lo
Lg1
private static final double Lg1
Lg2
private static final double Lg2
Lg3
private static final double Lg3
Lg4
private static final double Lg4
Lg5
private static final double Lg5
Lg6
private static final double Lg6
Lg7
private static final double Lg7
S1
private static double S1
S2
private static double S2
S3
private static double S3
S4
private static double S4
S5
private static double S5
S6
private static double S6
one
private static final double one
C1
private static final double C1
C2
private static final double C2
C3
private static final double C3
C4
private static final double C4
C5
private static final double C5
C6
private static final double C6
pio4
private static final double pio4
pio4lo
private static final double pio4lo
T
private static final double[] T
pio2_hi
private static final double pio2_hi
pio2_lo
private static final double pio2_lo
pio4_hi
private static final double pio4_hi
pS0
private static final double pS0
pS1
private static final double pS1
pS2
private static final double pS2
pS3
private static final double pS3
pS4
private static final double pS4
pS5
private static final double pS5
qS1
private static final double qS1
qS2
private static final double qS2
qS3
private static final double qS3
qS4
private static final double qS4
atanhi
private static final double[] atanhi
atanlo
private static final double[] atanlo
aT
private static final double[] aT
pi_o_4
private static final double pi_o_4
pi_o_2
private static final double pi_o_2
pi_lo
private static final double pi_lo
two_over_pi
private static final int[] two_over_pi
npio2_hw
private static final int[] npio2_hw
zero
private static final double zero
- See Also:
- Constant Field Values
half
private static final double half
two24
private static final double two24
invpio2
private static final double invpio2
pio2_1
private static final double pio2_1
pio2_1t
private static final double pio2_1t
pio2_2
private static final double pio2_2
pio2_2t
private static final double pio2_2t
pio2_3
private static final double pio2_3
pio2_3t
private static final double pio2_3t
PIo2
private static final double[] PIo2
twon24
private static final double twon24
bp
private static final double[] bp
dp_h
private static final double[] dp_h
dp_l
private static final double[] dp_l
two53
private static final double two53
L1
private static final double L1
L2
private static final double L2
L3
private static final double L3
L4
private static final double L4
L5
private static final double L5
L6
private static final double L6
lg2
private static final double lg2
lg2_h
private static final double lg2_h
lg2_l
private static final double lg2_l
- See Also:
- Constant Field Values
ovt
private static final double ovt
- See Also:
- Constant Field Values
cp
private static final double cp
cp_h
private static final double cp_h
cp_l
private static final double cp_l
ivln2
private static final double ivln2
ivln2_h
private static final double ivln2_h
ivln2_l
private static final double ivln2_l
two54
private static final double two54
twom54
private static final double twom54
| Constructor Detail |
JMath
public JMath()
| Method Detail |
abs
public static int abs(int x)
- Returns the absolute value of its argument.
abs
public static long abs(long x)
- Returns the absolute value of its argument.
abs
public static float abs(float x)
- Returns the absolute value of its argument.
abs
public static double abs(double x)
- Returns the absolute value of its argument.
min
public static int min(int x,
int y)
- Returns the smaller of its two arguments.
min
public static long min(long x,
long y)
- Returns the smaller of its two arguments.
min
public static float min(float x,
float y)
- Returns the smaller of its two arguments.
min
public static double min(double x,
double y)
- Returns the smaller of its two arguments.
max
public static int max(int x,
int y)
- Returns the larger of its two arguments.
max
public static long max(long x,
long y)
- Returns the larger of its two arguments.
max
public static float max(float x,
float y)
- Returns the larger of its two arguments.
max
public static double max(double x,
double y)
- Returns the larger of its two arguments.
round
public static int round(float x)
- Returns the integer closest to the arguments.
round
public static long round(double x)
- Returns the long closest to the arguments.
random
public static double random()
- Returns the random number.
ceil
public static double ceil(double x)
- Returns the value of its argument rounded toward
positive infinity to an integral value.
floor
public static double floor(double x)
- Returns the value of its argument rounded toward
negative infinity to an integral value.
rint
public static double rint(double x)
- Returns the value of its argument rounded toward
the closest integral value.
IEEEremainder
public static double IEEEremainder(double x,
double p)
- Returns x REM p = x - [x/p]*p as if in infinite
precise arithmetic, where [x/p] is the (infinite bit)
integer nearest x/p (in half way case choose the even one).
sqrt
public static double sqrt(double x)
- Returns the square root of its argument.
exp
public static double exp(double x)
- Returns the exponential of its argument.
log
public static double log(double x)
- Returns the natural logarithm of its argument.
sin
public static double sin(double x)
- Returns the sine of its argument.
__kernel_sin
static double __kernel_sin(double x,
double y,
int iy)
cos
public static double cos(double x)
- Returns the cosine of its argument.
__kernel_cos
private static double __kernel_cos(double x,
double y)
tan
public static double tan(double x)
- Returns the tangent of its argument.
__kernel_tan
private static double __kernel_tan(double x,
double y,
int iy)
asin
public static double asin(double x)
- Returns the inverse (arc) sine of its argument.
acos
public static double acos(double x)
- Returns the inverse (arc) cosine of its argument.
atan
public static double atan(double x)
- Returns the inverse (arc) tangent of its argument.
atan2
public static double atan2(double y,
double x)
- Returns angle corresponding to a Cartesian point.
__ieee754_rem_pio2
private static int __ieee754_rem_pio2(double x,
double[] y)
__kernel_rem_pio2
private static int __kernel_rem_pio2(double[] x,
double[] y,
int e0,
int nx)
pow
public static double pow(double x,
double y)
- Returns x to the power y.
copysign
private static double copysign(double x,
double y)
scalbn
private static double scalbn(double x,
int n)
set
private static double set(int newHiPart,
int newLowPart)
setLO
private static double setLO(double x,
int newLowPart)
setHI
private static double setHI(double x,
int newHiPart)
__HI
private static int __HI(double x)
__LO
private static int __LO(double x)
|
|||||||||
| Home >> All >> [ Support overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
Support.JMath