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 final int[]
    Precision of a double in the digits of each radix.
    static final int[]
    Precision of a float in the digits of each radix.
    static final int[]
    How many digits maximally fit in a long in each radix.
    static final int[]
    Precision of a long in the digits of each radix.
    static final int[][]
    Factors of numbers 2, ..., 36.
  • Field Details

    • 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.