Interface RadixConstants


  • public interface RadixConstants
    Constants related to different radixes.
    Version:
    1.0
    Author:
    Mikko Tommila
    • Field Summary

      Fields 
      Modifier and Type Field Description
      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_DIGITS
      How many digits maximally fit in a long in 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

        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

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

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

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

        static final int[] LONG_DIGITS
        How many digits maximally fit in a long in each radix.