Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for bigIntegerValue (0.11 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)
Back to top