Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Sqrt (0.13 sec)

  1. android/guava/src/com/google/common/math/DoubleMath.java

          case UP:
            increment = exponent >= 0 & !isPowerOfTwo(x);
            break;
          case HALF_DOWN:
          case HALF_EVEN:
          case HALF_UP:
            double xScaled = scaleNormalize(x);
            // sqrt(2) is irrational, and the spec is relative to the "exact numerical result,"
            // so log2(x) is never exactly exponent + 0.5.
            increment = (xScaled * xScaled) > 2.0;
            break;
          default:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
Back to top