Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for bigIntegerValue (0.09 sec)

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

              .isEqualTo(unsignedValue.bigIntegerValue().doubleValue());
        }
      }
    
      public void testPlus() {
        for (long a : TEST_LONGS) {
          for (long b : TEST_LONGS) {
            UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
            UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
            long expected = aUnsigned.bigIntegerValue().add(bUnsigned.bigIntegerValue()).longValue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

              .isEqualTo(unsignedValue.bigIntegerValue().doubleValue());
        }
      }
    
      public void testPlus() {
        for (long a : TEST_LONGS) {
          for (long b : TEST_LONGS) {
            UnsignedLong aUnsigned = UnsignedLong.fromLongBits(a);
            UnsignedLong bUnsigned = UnsignedLong.fromLongBits(b);
            long expected = aUnsigned.bigIntegerValue().add(bUnsigned.bigIntegerValue()).longValue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 8.9K bytes
    - Viewed (0)
Back to top