- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testLog2NaNInfinity (0.07 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 14:15:36 UTC 2025 - 27.3K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 14:15:36 UTC 2025 - 27.3K bytes - Viewed (0)