Interface IntRadixConstants


public interface IntRadixConstants
Constants related to different radixes for the int data type.
Version:
1.0
Author:
Mikko Tommila
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static int[]
    Bases for radixes 2, ..., 36.
    static int[]
    The power of the radix in each base.
    static long[]
    Maximum allowed exponent for each radix.
    static int[][]
    The minimum number in each radix to have the specified amount of digits.
  • Field Details

    • BASE

      static final int[] 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 int[][] 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.