- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testConstantSqrt2PrecomputedBits (0.09 sec)
-
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
public void testFloorPowerOfTwoZero() { assertThrows( IllegalArgumentException.class, () -> BigIntegerMath.floorPowerOfTwo(BigInteger.ZERO)); } @GwtIncompatible // TODO public void testConstantSqrt2PrecomputedBits() { assertEquals( BigIntegerMath.sqrt( BigInteger.ZERO.setBit(2 * BigIntegerMath.SQRT2_PRECOMPUTE_THRESHOLD + 1), FLOOR), BigIntegerMath.SQRT2_PRECOMPUTED_BITS); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27K bytes - Viewed (0)