java.lang
Class Math
java.lang.Object
java.lang.Math
public final class Math
- extends Object
|
Field Summary |
static double |
E
|
static double |
PI
|
|
Constructor Summary |
Math()
|
|
Method Summary |
static double |
abs(double x)
|
static float |
abs(float x)
|
static int |
abs(int x)
|
static long |
abs(long x)
|
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 x)
|
static double |
cos(double x)
|
static double |
exp(double x)
|
static double |
floor(double x)
|
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 |
rint(double x)
|
static long |
round(double x)
|
static int |
round(float x)
|
static double |
sin(double x)
|
static double |
sqrt(double x)
|
static double |
tan(double x)
|
E
public static final double E
- See Also:
- Constant Field Values
PI
public static final double PI
- See Also:
- Constant Field Values
Math
public Math()
abs
public static int abs(int x)
abs
public static long abs(long x)
abs
public static float abs(float x)
abs
public static double abs(double x)
ceil
public static double ceil(double x)
cos
public static double cos(double x)
floor
public static double floor(double x)
max
public static int max(int a,
int b)
max
public static long max(long a,
long b)
max
public static float max(float a,
float b)
max
public static double max(double a,
double b)
min
public static int min(int a,
int b)
min
public static long min(long a,
long b)
min
public static float min(float a,
float b)
min
public static double min(double a,
double b)
sin
public static double sin(double x)
sqrt
public static double sqrt(double x)
tan
public static double tan(double x)
rint
public static double rint(double x)
round
public static int round(float x)
round
public static long round(double x)
IEEEremainder
public static double IEEEremainder(double x,
double y)
exp
public static double exp(double x)
pow
public static double pow(double x,
double y)
log
public static double log(double x)
asin
public static double asin(double x)
acos
public static double acos(double x)
atan
public static double atan(double x)
atan2
public static double atan2(double y,
double x)