Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for checkRoundingUnnecessary (0.14 seconds)

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

     * the License.
     */
    
    package com.google.common.math;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
    import static java.lang.Math.nextDown;
    import static java.lang.Math.nextUp;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.math.RoundingMode;
    
    /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:51:56 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/math/IntMath.java

    import static com.google.common.math.MathPreconditions.checkNonNegative;
    import static com.google.common.math.MathPreconditions.checkPositive;
    import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
    import static java.lang.Math.abs;
    import static java.lang.Math.min;
    import static java.math.RoundingMode.HALF_EVEN;
    import static java.math.RoundingMode.HALF_UP;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/math/LongMath.java

    import static com.google.common.math.MathPreconditions.checkNonNegative;
    import static com.google.common.math.MathPreconditions.checkPositive;
    import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
    import static java.lang.Math.abs;
    import static java.lang.Math.min;
    import static java.lang.Math.nextDown;
    import static java.lang.Math.nextUp;
    import static java.math.RoundingMode.HALF_EVEN;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 09 23:01:02 GMT 2026
    - 46.8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

      }
    
      public void testCheckRoundingUnnecessary_success() {
        MathPreconditions.checkRoundingUnnecessary(true);
      }
    
      public void testCheckRoundingUnnecessary_failure() {
        assertThrows(
            ArithmeticException.class, () -> MathPreconditions.checkRoundingUnnecessary(false));
      }
    
      public void testCheckInRange_success() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java

      }
    
      public void testCheckRoundingUnnecessary_success() {
        MathPreconditions.checkRoundingUnnecessary(true);
      }
    
      public void testCheckRoundingUnnecessary_failure() {
        assertThrows(
            ArithmeticException.class, () -> MathPreconditions.checkRoundingUnnecessary(false));
      }
    
      public void testCheckInRange_success() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 8.1K bytes
    - Click Count (0)
Back to Top