Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkInRangeForRoundingInputs (0.89 sec)

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

      }
    
      static void checkRoundingUnnecessary(boolean condition) {
        if (!condition) {
          throw new ArithmeticException("mode was UNNECESSARY, but rounding was necessary");
        }
      }
    
      static void checkInRangeForRoundingInputs(boolean condition, double input, RoundingMode mode) {
        if (!condition) {
          throw new ArithmeticException(
              "rounded value is out of range for input " + input + " and rounding mode " + mode);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top