Class DiyFp


  • class DiyFp
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int e  
      private long f  
      (package private) static int kSignificandSize  
      (package private) static long kUint64MSB  
    • Constructor Summary

      Constructors 
      Constructor Description
      DiyFp()  
      DiyFp​(long f, int e)  
    • Constructor Detail

      • DiyFp

        DiyFp()
      • DiyFp

        DiyFp​(long f,
              int e)
    • Method Detail

      • uint64_gte

        private static boolean uint64_gte​(long a,
                                          long b)
      • subtract

        void subtract​(DiyFp other)
      • multiply

        void multiply​(DiyFp other)
      • normalize

        void normalize()
      • f

        long f()
      • e

        int e()
      • setF

        void setF​(long new_value)
      • setE

        void setE​(int new_value)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object