Package org.apfloat.spi
Interface RadixConstants
public interface RadixConstants
Constants related to different radixes.
- Version:
- 1.0
- Author:
- Mikko Tommila
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int[]
Precision of adouble
in the digits of each radix.static final int[]
Precision of afloat
in the digits of each radix.static final int[]
How many digits maximally fit in along
in each radix.static final int[]
Precision of along
in the digits of each radix.static final int[][]
Factors of numbers 2, ..., 36.
-
Field Details
-
RADIX_FACTORS
static final int[][] RADIX_FACTORSFactors of numbers 2, ..., 36. For 2 <= radix <= 36,RADIX_FACTORS[radix]
contains an array of integers containing the different factors of the radix. -
FLOAT_PRECISION
static final int[] FLOAT_PRECISIONPrecision of afloat
in the digits of each radix. -
DOUBLE_PRECISION
static final int[] DOUBLE_PRECISIONPrecision of adouble
in the digits of each radix. -
LONG_PRECISION
static final int[] LONG_PRECISIONPrecision of along
in the digits of each radix. -
LONG_DIGITS
static final int[] LONG_DIGITSHow many digits maximally fit in along
in each radix.
-