- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testLog2NaNInfinity (0.22 sec)
-
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
} } public void testLog2Zero() { assertThat(DoubleMath.log2(0.0)).isNegativeInfinity(); assertThat(DoubleMath.log2(-0.0)).isNegativeInfinity(); } public void testLog2NaNInfinity() { assertThat(DoubleMath.log2(Double.POSITIVE_INFINITY)).isPositiveInfinity(); assertTrue(Double.isNaN(DoubleMath.log2(Double.NEGATIVE_INFINITY))); assertTrue(Double.isNaN(DoubleMath.log2(Double.NaN))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.3K bytes - Viewed (0)