- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testRoundLog2Down (0.1 sec)
-
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
double z = StrictMath.pow(2.0, log2 - 1); assertTrue(z < d); } } @GwtIncompatible // DoubleMath.log2(double, RoundingMode), StrictMath public void testRoundLog2Down() { for (double d : POSITIVE_FINITE_DOUBLE_CANDIDATES) { int log2 = DoubleMath.log2(d, DOWN); if (d >= 1.0) { assertTrue(log2 >= 0); assertTrue(StrictMath.pow(2.0, log2) <= d);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.3K bytes - Viewed (0)