public final class Approximation
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static int |
abs(int x)
Calculate absolute number.
|
static long |
abs(long x)
Calculate absolute number.
|
static double |
atan2(double y,
double x)
Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).
|
static double |
Highprecision_Exp(double x)
Calculate Exp.
|
static double |
Highprecision_Pow(double x,
double y)
Calculate Pow.
|
static double |
Highprecision_Sin(double x)
Calculate Sin using Quadratic curve.
|
static double |
Lowprecision_Log(double x)
Calculate Pow.
|
static double |
Lowprecision_Pow(double x,
double y)
Calculate Pow.
|
static double |
Lowprecision_Sin(double x)
Calculate Sin using Quadratic curve.
|
public static int abs(int x)
x - Number.public static long abs(long x)
x - Number.public static double Highprecision_Pow(double x,
double y)
x - The base.y - The exponent.public static double Lowprecision_Pow(double x,
double y)
x - The base.y - The exponent.public static double Highprecision_Exp(double x)
x - Value.public static double Lowprecision_Log(double x)
x - Value.public static double Lowprecision_Sin(double x)
x - An angle, in radians.public static double Highprecision_Sin(double x)
x - An angle, in radians.public static double atan2(double y,
double x)
y - Y axis coordinate.x - X axis coordinate.