Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for longValueExact (0.07 sec)

  1. guava-tests/test/com/google/common/math/LongMathTest.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.longValueExact();
      }
    
      private static boolean fitsInLong(BigInteger big) {
        return big.bitLength() <= 63;
      }
    
      private static final BigInteger MAX_LONG = BigInteger.valueOf(Long.MAX_VALUE);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top