Interface DoubleRadixConstants


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

      Fields 
      Modifier and Type Field Description
      static double[] 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 double[][] MINIMUM_FOR_DIGITS
      The minimum number in each radix to have the specified amount of digits.
    • Field Detail

      • BASE

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