Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testLog2Zero (0.06 seconds)

  1. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

        }
      }
    
      public void testLog2Negative() {
        for (double d : POSITIVE_FINITE_DOUBLE_CANDIDATES) {
          assertTrue(Double.isNaN(DoubleMath.log2(-d)));
        }
      }
    
      public void testLog2Zero() {
        assertThat(DoubleMath.log2(0.0)).isNegativeInfinity();
        assertThat(DoubleMath.log2(-0.0)).isNegativeInfinity();
      }
    
      public void testLog2NaNInfinity() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/math/DoubleMathTest.java

        }
      }
    
      public void testLog2Negative() {
        for (double d : POSITIVE_FINITE_DOUBLE_CANDIDATES) {
          assertTrue(Double.isNaN(DoubleMath.log2(-d)));
        }
      }
    
      public void testLog2Zero() {
        assertThat(DoubleMath.log2(0.0)).isNegativeInfinity();
        assertThat(DoubleMath.log2(-0.0)).isNegativeInfinity();
      }
    
      public void testLog2NaNInfinity() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
Back to Top