Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hasAnyNegativeInfinity (0.09 sec)

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

            assertWithMessage("mean of %s", values).that(mean).isNaN();
            assertWithMessage("mean by addAll(Stats) of %s", values).that(meanByAddAllStats).isNaN();
          } else if (values.hasAnyPositiveInfinity() && values.hasAnyNegativeInfinity()) {
            assertWithMessage("mean of %s", values).that(mean).isNaN();
            assertWithMessage("mean by addAll(Stats) of %s", values).that(meanByAddAllStats).isNaN();
          } else if (values.hasAnyPositiveInfinity()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 36.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/StatsTesting.java

        }
    
        boolean hasAnyNegativeInfinity() {
          return Iterables.any(values, Predicates.equalTo(NEGATIVE_INFINITY));
        }
    
        boolean hasAnyNaN() {
          return Iterables.any(values, Predicates.equalTo(NaN));
        }
    
        boolean hasAnyNonFinite() {
          return hasAnyPositiveInfinity() || hasAnyNegativeInfinity() || hasAnyNaN();
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top