- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testLog10TrivialOnPowerOfTen (0.11 seconds)
-
guava-tests/test/com/google/common/math/IntMathTest.java
assertTrue(expectSuccess); } catch (ArithmeticException e) { assertFalse(expectSuccess); } } } @GwtIncompatible // log10 public void testLog10TrivialOnPowerOfTen() { int x = 1000000; for (RoundingMode mode : ALL_ROUNDING_MODES) { assertEquals(6, IntMath.log10(x, mode)); } } // Simple test to cover sqrt(0) for all types and all modes.
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 24.1K bytes - Click Count (0)