public final class m extends Object
Modifier and Type | Method and Description |
---|---|
static int |
ceil(double x)
Rounds X up to the nearest value closest to +inf
|
static int |
flog(double x,
double base)
Returns the truncated logarithm base BASE of the number X
|
static int |
flog10(double x)
Returns the truncated logarithm base 10 of the number X
|
static int |
flog2(double x)
Returns the truncated logarithm base 2 of the number X
|
static int |
floor(double x)
Truncates X
|
static int |
fpow(double x,
double y)
Returns X raised to the power of Y and truncated to the nearest integer closest to zero
|
static double |
ln(double x)
Returns the logarithm base e of the number X
|
static double |
log(double x,
double base)
Returns the logarithm base BASE of the number X
|
static double |
log10(double x)
Returns the logarithm base 10 of the number X
|
static double |
log2(double x)
Returns the logarithm base 2 of the number X
|
static int |
lowFloor(double x)
Rounds X down to the nearest value closest to -inf
|
static double |
pow(double x,
double y)
Returns X raised to the power of Y
|
public static final double inf
public static final double NaN
public static double log(double x, double base)
x
- base
- public static int flog(double x, double base)
x
- base
- public static double log2(double x)
x
- public static int flog2(double x)
x
- public static double log10(double x)
x
- public static int flog10(double x)
x
- public static double ln(double x)
x
- public static double pow(double x, double y)
x
- y
- public static int fpow(double x, double y)
x
- y
- public static int lowFloor(double x)
x
- public static int floor(double x)
x
- public static int ceil(double x)
x
- Copyright © 2024. All rights reserved.