Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ulp (0.44 sec)

  1. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

        }
      }
    
      @GwtIncompatible // #trueLog2, Math.ulp
      public void testLog2Accuracy() {
        for (double d : POSITIVE_FINITE_DOUBLE_CANDIDATES) {
          double dmLog2 = DoubleMath.log2(d);
          double trueLog2 = trueLog2(d);
          assertTrue(Math.abs(dmLog2 - trueLog2) <= Math.ulp(trueLog2));
        }
      }
    
      public void testLog2SemiMonotonic() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
Back to top