- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for toBigInteger (0.27 sec)
-
src/test/java/org/codelibs/core/convert/BigIntegerConversionUtilTest.java
public class BigIntegerConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToBigIntegerForEmptyString() throws Exception { assertNull(BigIntegerConversionUtil.toBigInteger("")); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 960 bytes - Viewed (0) -
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(); assertTrue(BigIntegerMath.factorial(DoubleMath.MAX_FACTORIAL).compareTo(maxDoubleValue) <= 0); assertTrue( BigIntegerMath.factorial(DoubleMath.MAX_FACTORIAL + 1).compareTo(maxDoubleValue) > 0); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 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(); assertTrue(BigIntegerMath.factorial(DoubleMath.MAX_FACTORIAL).compareTo(maxDoubleValue) <= 0); assertTrue( BigIntegerMath.factorial(DoubleMath.MAX_FACTORIAL + 1).compareTo(maxDoubleValue) > 0); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 27.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/NumberConversionUtil.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
InetAddress address = InetAddresses.forString(ip); boolean isIpv6 = address instanceof Inet6Address; assertEquals(bigIntegerIp, InetAddresses.toBigInteger(address)); assertEquals( address, isIpv6 ? InetAddresses.fromIPv6BigInteger(bigIntegerIp) : InetAddresses.fromIPv4BigInteger(bigIntegerIp)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 24 16:44:05 UTC 2024 - 35.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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 47.1K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 47.1K bytes - Viewed (0)