Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for nextRow (0.14 sec)

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

            .setExpectation(DoubleUtils.nextDown(-Math.pow(2, 54)), FLOOR, UP)
            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      public void testRoundToDouble_negativeTwoToThe54MinusThree() {
        new RoundToDoubleTester(BigDecimal.valueOf((-1L << 54) - 3))
            .setExpectation(-Math.pow(2, 54), DOWN, CEILING)
            .setExpectation(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java

     */
    public class DoubleUtilsTest extends TestCase {
      @AndroidIncompatible // no FpUtils and no Math.nextDown in old versions
      public void testNextDown() throws Exception {
        Method jdkNextDown = getJdkNextDown();
        for (double d : FINITE_DOUBLE_CANDIDATES) {
          assertEquals(jdkNextDown.invoke(null, d), DoubleUtils.nextDown(d));
        }
      }
    
      private static Method getJdkNextDown() throws Exception {
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2.9K bytes
    - Viewed (0)
Back to top