Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for intValueExact (0.05 sec)

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

        BigDecimal two = BigDecimal.valueOf(2); // Android doesn't have BigDecimal.TWO yet
        BigDecimal bigMean = new BigDecimal(bigX.add(bigY)).divide(two, RoundingMode.FLOOR);
        return bigMean.intValueExact();
      }
    
      private static boolean fitsInInt(BigInteger big) {
        return big.bitLength() <= 31;
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
Back to top