public class SMath
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SMath() |
Modifier and Type | Method and Description |
---|---|
static double |
abs(double d) |
static float |
abs(float f) |
static int |
abs(int i) |
static long |
abs(long l) |
static double |
acos(double x) |
static double |
asin(double x) |
static double |
atan(double x) |
static double |
atan2(double y,
double x) |
static double |
ceil(double a) |
static double |
cos(double a) |
static double |
exp(double x) |
static double |
floor(double a) |
static double |
IEEEremainder(double x,
double y) |
static double |
log(double x) |
static double |
max(double a,
double b) |
static float |
max(float a,
float b) |
static int |
max(int a,
int b) |
static long |
max(long a,
long b) |
static double |
min(double a,
double b) |
static float |
min(float a,
float b) |
static int |
min(int a,
int b) |
static long |
min(long a,
long b) |
static double |
pow(double x,
double y) |
static double |
random() |
static double |
rint(double a) |
static long |
round(double d) |
static int |
round(float f) |
static double |
sin(double a) |
static double |
sqrt(double x) |
static double |
tan(double a) |
public static final double E
public static final double PI
public static int abs(int i)
public static long abs(long l)
public static float abs(float f)
public static double abs(double d)
public static int min(int a, int b)
public static long min(long a, long b)
public static float min(float a, float b)
public static double min(double a, double b)
public static int max(int a, int b)
public static long max(long a, long b)
public static float max(float a, float b)
public static double max(double a, double b)
public static double sin(double a)
public static double cos(double a)
public static double tan(double a)
public static double asin(double x)
public static double acos(double x)
public static double atan(double x)
public static double atan2(double y, double x)
public static double exp(double x)
public static double log(double x)
public static double sqrt(double x)
public static double pow(double x, double y)
public static double IEEEremainder(double x, double y)
public static double ceil(double a)
public static double floor(double a)
public static double rint(double a)
public static int round(float f)
public static long round(double d)
public static double random()