Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for shiftLeft (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

          BigInteger plusHalfSquared = result.pow(2).add(result).shiftLeft(2).add(ONE);
          BigInteger x4 = x.shiftLeft(2);
          // sqrt(x) < result + 0.5, so 4 * x < (result + 0.5)^2 * 4
          // (result + 0.5)^2 * 4 = (result^2 + result)*4 + 1
          assertThat(plusHalfSquared).isGreaterThan(x4);
          BigInteger minusHalfSquared = result.pow(2).subtract(result).shiftLeft(2).add(ONE);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 04:51:56 GMT 2026
    - 27.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        static final int[] maxValueMods = new int[Character.MAX_RADIX + 1];
        static final int[] maxSafeDigits = new int[Character.MAX_RADIX + 1];
    
        static {
          BigInteger overflow = BigInteger.ONE.shiftLeft(64);
          for (int i = Character.MIN_RADIX; i <= Character.MAX_RADIX; i++) {
            maxValueDivs[i] = divide(MAX_VALUE, i);
            maxValueMods[i] = (int) remainder(MAX_VALUE, i);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 17.8K bytes
    - Click Count (0)
Back to Top