org.apfloat.internal
Interface LongRadixConstants


public interface LongRadixConstants

Constants related to different radixes for the long data type.

Version:
1.0
Author:
Mikko Tommila

Field Summary
static long[] BASE
          Bases for radixes 2, ..., 36.
static int[] BASE_DIGITS
          The power of the radix in each base.
static long[] MAX_EXPONENT
          Maximum allowed exponent for each radix.
static long[][] MINIMUM_FOR_DIGITS
          The minimum number in each radix to have the specified amount of digits.
 

Field Detail

BASE

static final long[] BASE
Bases for radixes 2, ..., 36. The base is the radix to the maximum power so that the base is less than all moduli used.


BASE_DIGITS

static final int[] BASE_DIGITS
The power of the radix in each base.


MINIMUM_FOR_DIGITS

static final long[][] MINIMUM_FOR_DIGITS
The minimum number in each radix to have the specified amount of digits.


MAX_EXPONENT

static final long[] MAX_EXPONENT
Maximum allowed exponent for each radix.