public class tcUtilMathOperations
extends java.lang.Object
Constructor and Description |
---|
tcUtilMathOperations() |
Modifier and Type | Method and Description |
---|---|
static float |
add(float pnLeftVar,
float pnRightVar)
method that performs addition of two floats.
|
static int |
add(float pnLeftVar,
int pnRightVar)
method that performs addition of a float and integer.
|
static float |
add(int pnLeftVar,
float pnRightVar)
method that performs addition of a float and integer.
|
static int |
add(int pnLeftVar,
int pnRightVar)
method that performs addition of two integers.
|
static float |
divide(float pnLeftVar,
float pnRightVar)
method that performs division of two floats.
|
static int |
divide(float pnLeftVar,
int pnRightVar)
method that performs division of a float and integer.
|
static float |
divide(int pnLeftVar,
float pnRightVar)
method that performs division of a float and integer.
|
static int |
divide(int pnLeftVar,
int pnRightVar)
method that performs division of two integers.
|
static float |
modulus(float pnLeftVar,
float pnRightVar)
method that performs modulus of two floats.
|
static int |
modulus(float pnLeftVar,
int pnRightVar)
method that performs modulus of a float and integer.
|
static float |
modulus(int pnLeftVar,
float pnRightVar)
method that performs modulus of a float and integer.
|
static int |
modulus(int pnLeftVar,
int pnRightVar)
method that performs modulus of two integers.
|
static float |
multiply(float pnLeftVar,
float pnRightVar)
method that performs multiplication of two floats.
|
static int |
multiply(float pnLeftVar,
int pnRightVar)
method that performs multiplication of a float and integer.
|
static float |
multiply(int pnLeftVar,
float pnRightVar)
method that performs multiplication of a float and integer.
|
static int |
multiply(int pnLeftVar,
int pnRightVar)
method that performs multiplication of two integers.
|
static float |
subtract(float pnLeftVar,
float pnRightVar)
method that performs subtraction of two floats.
|
static int |
subtract(float pnLeftVar,
int pnRightVar)
method that performs subtraction of a float and integer.
|
static float |
subtract(int pnLeftVar,
float pnRightVar)
method that performs subtraction of a float and integer.
|
static int |
subtract(int pnLeftVar,
int pnRightVar)
method that performs subtraction of two integers.
|
public static int add(int pnLeftVar, int pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static float add(float pnLeftVar, float pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static float add(int pnLeftVar, float pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static int add(float pnLeftVar, int pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static int subtract(int pnLeftVar, int pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static float subtract(float pnLeftVar, float pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static float subtract(int pnLeftVar, float pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static int subtract(float pnLeftVar, int pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static int multiply(int pnLeftVar, int pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static float multiply(float pnLeftVar, float pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static float multiply(int pnLeftVar, float pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static int multiply(float pnLeftVar, int pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static int divide(int pnLeftVar, int pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static float divide(float pnLeftVar, float pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static float divide(int pnLeftVar, float pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static int divide(float pnLeftVar, int pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static int modulus(int pnLeftVar, int pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static float modulus(float pnLeftVar, float pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static float modulus(int pnLeftVar, float pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expressionpublic static int modulus(float pnLeftVar, int pnRightVar)
pnLeftVar
- left side of the expressionpnRightVar
- right side of the expression