- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testLog10HalfEven (0.14 seconds)
-
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
assertTrue(result == 0 || TEN.pow(2 * result - 1).compareTo(x2) < 0); } } // Relies on the correctness of log10(BigInteger, {HALF_UP,HALF_DOWN}). @GwtIncompatible // TODO public void testLog10HalfEven() { for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) { int halfEven = BigIntegerMath.log10(x, HALF_EVEN); // Now figure out what rounding mode we should behave like (it depends if FLOOR was
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)