Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for negPre (0.16 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. 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)
  6. 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)
  7. 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)
  8. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/DoubleMath.java

        }
        int exponent = getExponent(x);
        long significand = getSignificand(x);
        BigInteger result = BigInteger.valueOf(significand).shiftLeft(exponent - SIGNIFICAND_BITS);
        return (x < 0) ? result.negate() : result;
      }
    
      /**
       * Returns {@code true} if {@code x} is exactly equal to {@code 2^k} for some finite integer
       * {@code k}.
       */
      @GwtIncompatible // com.google.common.math.DoubleUtils
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/MediaType.java

      /** Matcher for type, subtype and attributes. */
      private static final CharMatcher TOKEN_MATCHER =
          ascii()
              .and(javaIsoControl().negate())
              .and(CharMatcher.isNot(' '))
              .and(CharMatcher.noneOf("()<>@,;:\\\"/[]?="));
    
      private static final CharMatcher QUOTED_TEXT_MATCHER = ascii().and(CharMatcher.noneOf("\"\\\r"));
    
      /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
Back to top