- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for toBigInteger (0.06 sec)
-
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
private static final BigDecimal MIN_LONG_AS_BIG_DECIMAL = BigDecimal.valueOf(Long.MIN_VALUE); public void testConstantsMaxFactorial() { BigInteger maxDoubleValue = BigDecimal.valueOf(Double.MAX_VALUE).toBigInteger(); assertThat(BigIntegerMath.factorial(DoubleMath.MAX_FACTORIAL)).isAtMost(maxDoubleValue); assertThat(BigIntegerMath.factorial(DoubleMath.MAX_FACTORIAL + 1)) .isGreaterThan(maxDoubleValue); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 14:15:36 UTC 2025 - 27.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/DoubleMathTest.java
private static final BigDecimal MIN_LONG_AS_BIG_DECIMAL = BigDecimal.valueOf(Long.MIN_VALUE); public void testConstantsMaxFactorial() { BigInteger maxDoubleValue = BigDecimal.valueOf(Double.MAX_VALUE).toBigInteger(); assertThat(BigIntegerMath.factorial(DoubleMath.MAX_FACTORIAL)).isAtMost(maxDoubleValue); assertThat(BigIntegerMath.factorial(DoubleMath.MAX_FACTORIAL + 1)) .isGreaterThan(maxDoubleValue); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 14:15:36 UTC 2025 - 27.3K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
* * @param address {@link InetAddress} to convert * @return {@code BigInteger} representation of the address * @since 28.2 */ public static BigInteger toBigInteger(InetAddress address) { return new BigInteger(1, address.getAddress()); } /** * Returns an Inet4Address having the integer value specified by the argument. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
* * @param address {@link InetAddress} to convert * @return {@code BigInteger} representation of the address * @since 28.2 */ public static BigInteger toBigInteger(InetAddress address) { return new BigInteger(1, address.getAddress()); } /** * Returns an Inet4Address having the integer value specified by the argument. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0)