Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for isNegativeInfinity (0.11 sec)

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

        assertThat(ONE_VALUE_STATS.mean()).isWithin(ALLOWED_ERROR).of(ONE_VALUE);
        assertThat(Stats.of(POSITIVE_INFINITY).mean()).isPositiveInfinity();
        assertThat(Stats.of(NEGATIVE_INFINITY).mean()).isNegativeInfinity();
        assertThat(Stats.of(NaN).mean()).isNaN();
        assertThat(TWO_VALUES_STATS.mean()).isWithin(ALLOWED_ERROR).of(TWO_VALUES_MEAN);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

                .isPositiveInfinity();
          } else if (values.hasAnyNegativeInfinity()) {
            assertWithMessage("mean of " + values).that(mean).isNegativeInfinity();
            assertWithMessage("mean by addAll(Stats) of " + values)
                .that(meanByAddAllStats)
                .isNegativeInfinity();
          } else {
            assertWithMessage("mean of " + values)
                .that(mean)
                .isWithin(ALLOWED_ERROR)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

                .isPositiveInfinity();
          } else if (values.hasAnyNegativeInfinity()) {
            assertWithMessage("mean of " + values).that(mean).isNegativeInfinity();
            assertWithMessage("mean by addAll(Stats) of " + values)
                .that(meanByAddAllStats)
                .isNegativeInfinity();
          } else {
            assertWithMessage("mean of " + values)
                .that(mean)
                .isWithin(ALLOWED_ERROR)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

          assertTrue(Double.isNaN(DoubleMath.log2(-d)));
        }
      }
    
      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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/DoubleMathTest.java

          assertTrue(Double.isNaN(DoubleMath.log2(-d)));
        }
      }
    
      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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
Back to top