public final class MathUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static double |
SAFE_MIN
Safe minimum, such that 1 / SAFE_MIN does not overflow.
|
Modifier and Type | Method and Description |
---|---|
static int |
divisorMod(int a,
int n)
Modulus, divisor-style.
|
public static final double SAFE_MIN
In IEEE 754 arithmetic, this is also the smallest normalized number 2-1022. The value of this constant is from Apache Commons Math 2.2.