Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Print (0.21 sec)

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

          for (int direction : new int[] {1, -1}) {
            double d = Double.longBitsToDouble(Double.doubleToLongBits(Math.scalb(1.0, i)) + direction);
            // Math.nextUp/nextDown
            if (d != Math.rint(d)) {
              fractionalBuilder.add(d);
            }
          }
        }
        for (double d :
            Doubles.asList(
                0,
                1,
                2,
                7,
                51,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/MathTesting.java

          for (int direction : new int[] {1, -1}) {
            double d = Double.longBitsToDouble(Double.doubleToLongBits(Math.scalb(1.0, i)) + direction);
            // Math.nextUp/nextDown
            if (d != Math.rint(d)) {
              fractionalBuilder.add(d);
            }
          }
        }
        for (double d :
            Doubles.asList(
                0,
                1,
                2,
                7,
                51,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/DoubleMath.java

            }
    
          case HALF_EVEN:
            return rint(x);
    
          case HALF_UP:
            {
              double z = rint(x);
              if (abs(x - z) == 0.5) {
                return x + copySign(0.5, x);
              } else {
                return z;
              }
            }
    
          case HALF_DOWN:
            {
              double z = rint(x);
              if (abs(x - z) == 0.5) {
                return x;
    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