Class F2Dot14


  • public final class F2Dot14
    extends Object
    Constants and operations on fixed 2.14 numbers. The value v is represented by the int value 2^14 * v.
    • Constructor Detail

      • F2Dot14

        public F2Dot14()
    • Method Detail

      • multiply

        public static int multiply​(int v1,
                                   int v2)
      • square

        public static int square​(int v)
      • fromDouble

        public static int fromDouble​(double v)
      • toDouble

        public static double toDouble​(int v)
      • toString

        public static String toString​(int v)