Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for negPre (0.15 sec)

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

            .test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testRoundToDouble_negativeWayTooBig() {
        BigInteger bi = BigInteger.ONE.shiftLeft(2 * Double.MAX_EXPONENT).negate();
        new RoundToDoubleTester(bi)
            .setExpectation(-Double.MAX_VALUE, DOWN, CEILING, HALF_EVEN, HALF_UP, HALF_DOWN)
            .setExpectation(Double.NEGATIVE_INFINITY, UP, FLOOR)
            .roundUnnecessaryShouldThrow()
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            .test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testRoundToDouble_negativeWayTooBig() {
        BigInteger bi = BigInteger.ONE.shiftLeft(2 * Double.MAX_EXPONENT).negate();
        new RoundToDoubleTester(bi)
            .setExpectation(-Double.MAX_VALUE, DOWN, CEILING, HALF_EVEN, HALF_UP, HALF_DOWN)
            .setExpectation(Double.NEGATIVE_INFINITY, UP, FLOOR)
            .roundUnnecessaryShouldThrow()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/MathTesting.java

              return BigInteger.valueOf(n);
            }
          };
    
      private static final Function<Integer, Integer> NEGATE_INT =
          new Function<Integer, Integer>() {
            @Override
            public Integer apply(Integer x) {
              return -x;
            }
          };
    
      private static final Function<Long, Long> NEGATE_LONG =
          new Function<Long, Long>() {
            @Override
            public Long apply(Long x) {
    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)
  4. guava-tests/test/com/google/common/math/MathTesting.java

              return BigInteger.valueOf(n);
            }
          };
    
      private static final Function<Integer, Integer> NEGATE_INT =
          new Function<Integer, Integer>() {
            @Override
            public Integer apply(Integer x) {
              return -x;
            }
          };
    
      private static final Function<Long, Long> NEGATE_LONG =
          new Function<Long, Long>() {
            @Override
            public Long apply(Long x) {
    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)
  5. android/guava/src/com/google/common/base/CharMatcher.java

        return new Is(match);
      }
    
      /**
       * Returns a {@code char} matcher that matches any character except the BMP character specified.
       *
       * <p>To negate another {@code CharMatcher}, use {@link #negate()}.
       */
      public static CharMatcher isNot(final char match) {
        return new IsNot(match);
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java

        MathPreconditions.checkPositive("BigInteger", BigInteger.ONE);
      }
    
      public void testCheckPositive_negativeBigInteger() {
        try {
          MathPreconditions.checkPositive("BigInteger", BigInteger.ZERO.negate());
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testCheckNonNegative_zeroInt() {
        MathPreconditions.checkNonNegative("int", 0);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      public void testRoundToDouble_negativeWayTooBig() {
        BigDecimal bi = BigDecimal.valueOf(2).pow(2 * Double.MAX_EXPONENT).negate();
        new RoundToDoubleTester(bi)
            .setExpectation(-Double.MAX_VALUE, DOWN, CEILING, HALF_EVEN, HALF_UP, HALF_DOWN)
            .setExpectation(Double.NEGATIVE_INFINITY, UP, FLOOR)
            .roundUnnecessaryShouldThrow()
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(expected, matcher.toString());
        assertEquals(expected, matcher.precomputed().toString());
        assertEquals(expected, matcher.negate().negate().toString());
        assertEquals(expected, matcher.negate().precomputed().negate().toString());
        assertEquals(expected, matcher.negate().precomputed().negate().precomputed().toString());
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals(expected, matcher.toString());
        assertEquals(expected, matcher.precomputed().toString());
        assertEquals(expected, matcher.negate().negate().toString());
        assertEquals(expected, matcher.negate().precomputed().negate().toString());
        assertEquals(expected, matcher.negate().precomputed().negate().precomputed().toString());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/CharMatcher.java

        return new Is(match);
      }
    
      /**
       * Returns a {@code char} matcher that matches any character except the BMP character specified.
       *
       * <p>To negate another {@code CharMatcher}, use {@link #negate()}.
       */
      public static CharMatcher isNot(final char match) {
        return new IsNot(match);
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top