Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for bigIntegerValue (0.05 sec)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

              .isEqualTo(unsignedValue.bigIntegerValue().doubleValue());
        }
      }
    
      public void testPlus() {
        for (int a : TEST_INTS) {
          for (int b : TEST_INTS) {
            UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a);
            UnsignedInteger bUnsigned = UnsignedInteger.fromIntBits(b);
            int expected = aUnsigned.bigIntegerValue().add(bUnsigned.bigIntegerValue()).intValue();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/UnsignedInteger.java

            value);
        return fromIntBits((int) value);
      }
    
      /**
       * Returns a {@code UnsignedInteger} representing the same value as the specified {@link
       * BigInteger}. This is the inverse operation of {@link #bigIntegerValue()}.
       *
       * @throws IllegalArgumentException if {@code value} is negative or {@code value >= 2^32}
       */
      public static UnsignedInteger valueOf(BigInteger value) {
        checkNotNull(value);
        checkArgument(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/UnsignedLong.java

        return fromLongBits(value);
      }
    
      /**
       * Returns a {@code UnsignedLong} representing the same value as the specified {@code BigInteger}.
       * This is the inverse operation of {@link #bigIntegerValue()}.
       *
       * @throws IllegalArgumentException if {@code value} is negative or {@code value >= 2^64}
       */
      @CanIgnoreReturnValue
      public static UnsignedLong valueOf(BigInteger value) {
        checkNotNull(value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top