public abstract class PrimitiveMath extends Object
Modifier and Type | Field and Description |
---|---|
static double |
E |
static double |
EIGHT |
static double |
EIGHTH |
static double |
ELEVEN |
static double |
ELEVENTH |
static double |
FITH |
static double |
FIVE |
static double |
FOUR |
static double |
GOLDEN_RATIO |
static double |
HALF |
static double |
HALF_PI |
static double |
HUNDRED |
static double |
HUNDREDTH |
static double |
MACHINE_EPSILON |
static double |
MACHINE_LARGEST |
static double |
MACHINE_SMALLEST
Refers to "min normal" rather than "min value"
|
static double |
NaN |
static double |
NEG |
static double |
NEGATIVE_INFINITY |
static double |
NINE |
static double |
NINTH |
static double |
ONE |
static double |
PI |
static double |
POSITIVE_INFINITY |
static long[] |
POWERS_OF_2 |
static double |
QUARTER |
static double |
SEVEN |
static double |
SEVENTH |
static double |
SIX |
static double |
SIXTH |
static double |
SQRT_PI |
static double |
SQRT_TWO |
static double |
SQRT_TWO_PI |
static double |
TEN |
static double |
TENTH |
static double |
THIRD |
static double |
THOUSAND |
static double |
THOUSANDTH |
static double |
THREE |
static double |
TINY
Deprecated.
|
static double |
TWELFTH |
static double |
TWELVE |
static double |
TWO |
static double |
TWO_PI |
static double |
ZERO |
Modifier and Type | Method and Description |
---|---|
static int |
getPrimeNumber(int index) |
static boolean |
isPowerOf2(long value) |
static int |
powerOf2Larger(long value) |
static int |
powerOf2Smaller(long value) |
public static final double ZERO
public static final double ONE
public static final double TWO
public static final double THREE
public static final double FOUR
public static final double FIVE
public static final double SIX
public static final double SEVEN
public static final double EIGHT
public static final double NINE
public static final double TEN
public static final double ELEVEN
public static final double TWELVE
public static final double HUNDRED
public static final double THOUSAND
public static final double NEG
public static final double HALF
public static final double THIRD
public static final double QUARTER
public static final double FITH
public static final double SIXTH
public static final double SEVENTH
public static final double EIGHTH
public static final double NINTH
public static final double TENTH
public static final double ELEVENTH
public static final double TWELFTH
public static final double HUNDREDTH
public static final double THOUSANDTH
public static final double E
public static final double PI
public static final double GOLDEN_RATIO
public static final double HALF_PI
public static final double TWO_PI
public static final double SQRT_TWO
public static final double SQRT_PI
public static final double SQRT_TWO_PI
public static final double POSITIVE_INFINITY
public static final double NEGATIVE_INFINITY
public static final double NaN
public static final double MACHINE_LARGEST
public static final double MACHINE_SMALLEST
public static final double MACHINE_EPSILON
@Deprecated public static final double TINY
public static final long[] POWERS_OF_2
public static final int getPrimeNumber(int index)
public static final boolean isPowerOf2(long value)
public static final int powerOf2Larger(long value)
public static final int powerOf2Smaller(long value)
Copyright © 2018 Optimatika. All rights reserved.