- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testLog10Exact (0.07 seconds)
-
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
assertTrue(result == 0 || TEN.pow(result - 1).compareTo(x) < 0); } } } // Relies on the correctness of log10(BigInteger, FLOOR). @GwtIncompatible // TODO public void testLog10Exact() { for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) { int logFloor = BigIntegerMath.log10(x, FLOOR); boolean expectSuccess = TEN.pow(logFloor).equals(x); try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:51:56 GMT 2026 - 27.1K bytes - Click Count (0)