Package org.eclipse.epsilon.eol.tools
Class MathTool
java.lang.Object
org.eclipse.epsilon.eol.tools.MathTool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
asin
(double d) double
atan
(double d) int
int
bitwiseAnd
(int i1, int i2) int
bitwiseNot
(int i1) int
bitwiseOr
(int i1, int i2) double
log
(double d) static void
double
pow
(double base, double exp) double
random()
int
round
(double d) double
sqrt
(double d) toBitString
(int i)
-
Constructor Details
-
MathTool
public MathTool()
-
-
Method Details
-
main
-
random
public double random() -
sqrt
public double sqrt(double d) -
log
public double log(double d) -
asin
public double asin(double d) -
atan
public double atan(double d) -
bitwiseAnd
public int bitwiseAnd(int i1, int i2) -
bitwiseOr
public int bitwiseOr(int i1, int i2) -
bitwiseNot
public int bitwiseNot(int i1) -
toBitString
-
bitStringToInt
-
round
public int round(double d) -
pow
public double pow(double base, double exp)
-