Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testRoundExactFractionalDoubleToBigIntegerFails (0.36 seconds)

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

          assertEquals(expected.toBigInteger(), DoubleMath.roundToBigInteger(d, UNNECESSARY));
        }
      }
    
      @GwtIncompatible // DoubleMath.roundToBigInteger(double, RoundingMode)
      public void testRoundExactFractionalDoubleToBigIntegerFails() {
        for (double d : FRACTIONAL_DOUBLE_CANDIDATES) {
          assertThrows(ArithmeticException.class, () -> DoubleMath.roundToBigInteger(d, UNNECESSARY));
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/DoubleMathTest.java

          assertEquals(expected.toBigInteger(), DoubleMath.roundToBigInteger(d, UNNECESSARY));
        }
      }
    
      @GwtIncompatible // DoubleMath.roundToBigInteger(double, RoundingMode)
      public void testRoundExactFractionalDoubleToBigIntegerFails() {
        for (double d : FRACTIONAL_DOUBLE_CANDIDATES) {
          assertThrows(ArithmeticException.class, () -> DoubleMath.roundToBigInteger(d, UNNECESSARY));
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
Back to Top