- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 69 for BigInteger (0.24 sec)
-
android/guava/src/com/google/common/math/BigIntegerMath.java
double roundToDoubleArbitrarily(BigInteger bigInteger) { return DoubleUtils.bigToDouble(bigInteger); } @Override int sign(BigInteger bigInteger) { return bigInteger.signum(); } @Override BigInteger toX(double d, RoundingMode mode) { return DoubleMath.roundToBigInteger(d, mode); } @Override BigInteger minus(BigInteger a, BigInteger b) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 18.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
} } } } private static final BigInteger BAD_FOR_ANDROID_P = new BigInteger("-9223372036854775808"); private static final BigInteger BAD_FOR_ANDROID_Q = new BigInteger("-1"); private static final BigInteger BAD_FOR_GINGERBREAD_P = new BigInteger("-9223372036854775808"); private static final BigInteger BAD_FOR_GINGERBREAD_Q = new BigInteger("-4294967296"); @GwtIncompatible // TODO
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 28.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java
} } } } private static final BigInteger BAD_FOR_ANDROID_P = new BigInteger("-9223372036854775808"); private static final BigInteger BAD_FOR_ANDROID_Q = new BigInteger("-1"); private static final BigInteger BAD_FOR_GINGERBREAD_P = new BigInteger("-9223372036854775808"); private static final BigInteger BAD_FOR_GINGERBREAD_Q = new BigInteger("-4294967296"); @GwtIncompatible // TODO
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 28.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedLongTest.java
.add(doubleConversionTest + i); BigInteger bigI = BigInteger.valueOf(i); testBigIntegersBuilder .add(bigI) .add(BigInteger.valueOf(Long.MAX_VALUE).add(bigI)) .add(BigInteger.valueOf(Long.MIN_VALUE).add(bigI)) .add(BigInteger.valueOf(Integer.MAX_VALUE).add(bigI)) .add(BigInteger.valueOf(Integer.MIN_VALUE).add(bigI)) .add(BigInteger.ONE.shiftLeft(63).add(bigI))
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/BigIntegerConversionUtil.java
*/ package org.codelibs.core.convert; import java.math.BigInteger; /** * {@link BigInteger}用の変換ユーティリティです。 * * @author higa */ public abstract class BigIntegerConversionUtil { /** * {@link BigInteger}に変換します。 * * @param o * 変換元のオブジェクト * @return 変換された{@link BigInteger} */ public static BigInteger toBigInteger(final Object o) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
} } } private static final BigInteger MAX_INT = BigInteger.valueOf(Integer.MAX_VALUE); private static final BigInteger MIN_INT = BigInteger.valueOf(Integer.MIN_VALUE); private static int saturatedCast(BigInteger big) { if (big.compareTo(MAX_INT) > 0) { return Integer.MAX_VALUE; } if (big.compareTo(MIN_INT) < 0) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 24.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
} @Override public BigInteger previous(BigInteger value) { return value.subtract(BigInteger.ONE); } @Override BigInteger offset(BigInteger origin, long distance) { checkNonnegative(distance, "distance"); return origin.add(BigInteger.valueOf(distance)); } @Override public long distance(BigInteger start, BigInteger end) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 10.3K bytes - Viewed (0) -
android/guava/src/com/google/common/math/MathPreconditions.java
if (x <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue static BigInteger checkPositive(String role, BigInteger x) { if (x.signum() <= 0) { throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); } return x; } @CanIgnoreReturnValue
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 3.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/LongMathTest.java
} private static boolean fitsInLong(BigInteger big) { return big.bitLength() <= 63; } private static final BigInteger MAX_LONG = BigInteger.valueOf(Long.MAX_VALUE); private static final BigInteger MIN_LONG = BigInteger.valueOf(Long.MIN_VALUE); private static long saturatedCast(BigInteger big) { if (big.compareTo(MAX_LONG) > 0) { return Long.MAX_VALUE; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 04 20:15:57 GMT 2024 - 32.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/MathTesting.java
*/ static final ImmutableSet<BigInteger> POSITIVE_BIGINTEGER_CANDIDATES; static final Iterable<BigInteger> NEGATIVE_BIGINTEGER_CANDIDATES; static final Iterable<BigInteger> NONZERO_BIGINTEGER_CANDIDATES; static final Iterable<BigInteger> ALL_BIGINTEGER_CANDIDATES; static { ImmutableSet.Builder<BigInteger> bigValues = ImmutableSet.builder();
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 11.2K bytes - Viewed (0)