Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for trueLog2 (0.18 sec)

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

      private strictfp double trueLog2(double d) {
        double trueLog2 = StrictMath.log(d) / StrictMath.log(2);
        // increment until it's >= the true value
        while (StrictMath.pow(2.0, trueLog2) < d) {
          trueLog2 = StrictMath.nextUp(trueLog2);
        }
        // decrement until it's <= the true value
        while (StrictMath.pow(2.0, trueLog2) > d) {
          trueLog2 = StrictMath.nextAfter(trueLog2, Double.NEGATIVE_INFINITY);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/DoubleMathTest.java

      private strictfp double trueLog2(double d) {
        double trueLog2 = StrictMath.log(d) / StrictMath.log(2);
        // increment until it's >= the true value
        while (StrictMath.pow(2.0, trueLog2) < d) {
          trueLog2 = StrictMath.nextUp(trueLog2);
        }
        // decrement until it's <= the true value
        while (StrictMath.pow(2.0, trueLog2) > d) {
          trueLog2 = StrictMath.nextAfter(trueLog2, Double.NEGATIVE_INFINITY);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
Back to top