org.apfloat.spi
Interface RadixConstants

All Known Implementing Classes:
DoubleApfloatImpl, FloatApfloatImpl, IntApfloatImpl, LongApfloatImpl

public interface RadixConstants

Constants related to different radixes.

Version:
1.0
Author:
Mikko Tommila

Field Summary
static int[] DOUBLE_PRECISION
          Precision of a double in the digits of each radix.
static int[] FLOAT_PRECISION
          Precision of a float in the digits of each radix.
static int[] LONG_PRECISION
          Precision of a long in the digits of each radix.
static int[][] RADIX_FACTORS
          Factors of numbers 2, ..., 36.
 

Field Detail

RADIX_FACTORS

public static final int[][] RADIX_FACTORS
Factors 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

public static final int[] FLOAT_PRECISION
Precision of a float in the digits of each radix.


DOUBLE_PRECISION

public static final int[] DOUBLE_PRECISION
Precision of a double in the digits of each radix.


LONG_PRECISION

public static final int[] LONG_PRECISION
Precision of a long in the digits of each radix.