Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for isgasn (0.18 sec)

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

        assertThat(ONE_VALUE_STATS.populationVariance()).isWithin(0.0).of(0.0);
        assertThat(Stats.of(POSITIVE_INFINITY).populationVariance()).isNaN();
        assertThat(Stats.of(NEGATIVE_INFINITY).populationVariance()).isNaN();
        assertThat(Stats.of(NaN).populationVariance()).isNaN();
        assertThat(TWO_VALUES_STATS.populationVariance())
            .isWithin(ALLOWED_ERROR)
            .of(TWO_VALUES_SUM_OF_SQUARES_OF_DELTAS / 2);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 32.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/PairedStatsTest.java

        assertThat(createSingleStats(Double.POSITIVE_INFINITY, 1.23).populationCovariance()).isNaN();
        assertThat(createSingleStats(Double.NEGATIVE_INFINITY, 1.23).populationCovariance()).isNaN();
        assertThat(createSingleStats(Double.NaN, 1.23).populationCovariance()).isNaN();
        assertThat(TWO_VALUES_PAIRED_STATS.populationCovariance())
            .isWithin(ALLOWED_ERROR)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

        assertThat(createSingleStats(Double.POSITIVE_INFINITY, 1.23).populationCovariance()).isNaN();
        assertThat(createSingleStats(Double.NEGATIVE_INFINITY, 1.23).populationCovariance()).isNaN();
        assertThat(createSingleStats(Double.NaN, 1.23).populationCovariance()).isNaN();
        assertThat(TWO_VALUES_PAIRED_STATS.populationCovariance())
            .isWithin(ALLOWED_ERROR)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

            assertWithMessage("mean of " + values).that(mean).isNaN();
            assertWithMessage("mean by addAll(Stats) of " + values).that(meanByAddAllStats).isNaN();
          } else if (values.hasAnyPositiveInfinity() && values.hasAnyNegativeInfinity()) {
            assertWithMessage("mean of " + values).that(mean).isNaN();
            assertWithMessage("mean by addAll(Stats) of " + values).that(meanByAddAllStats).isNaN();
          } else if (values.hasAnyPositiveInfinity()) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 36.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        }
      }
    
      public void testIsFinite() {
        for (float value : NUMBERS) {
          assertThat(Floats.isFinite(value))
              .isEqualTo(!(Float.isInfinite(value) || Float.isNaN(value)));
        }
      }
    
      public void testCompare() {
        for (float x : VALUES) {
          for (float y : VALUES) {
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * @throws IllegalArgumentException if {@code permitsPerSecond} is negative or zero
       */
      public final void setRate(double permitsPerSecond) {
        checkArgument(
            permitsPerSecond > 0.0 && !Double.isNaN(permitsPerSecond), "rate must be positive");
        synchronized (mutex()) {
          doSetRate(permitsPerSecond, stopwatch.readMicros());
        }
      }
    
      abstract void doSetRate(double permitsPerSecond, long nowMicros);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/Quantiles.java

        }
      }
    
      /** Returns whether any of the values in {@code dataset} are {@code NaN}. */
      private static boolean containsNaN(double... dataset) {
        for (double value : dataset) {
          if (Double.isNaN(value)) {
            return true;
          }
        }
        return false;
      }
    
      /**
       * Returns a value a fraction {@code (remainder / scale)} of the way between {@code lower} and
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/StatsTest.java

        assertThat(ONE_VALUE_STATS.populationVariance()).isWithin(0.0).of(0.0);
        assertThat(Stats.of(POSITIVE_INFINITY).populationVariance()).isNaN();
        assertThat(Stats.of(NEGATIVE_INFINITY).populationVariance()).isNaN();
        assertThat(Stats.of(NaN).populationVariance()).isNaN();
        assertThat(TWO_VALUES_STATS.populationVariance())
            .isWithin(ALLOWED_ERROR)
            .of(TWO_VALUES_SUM_OF_SQUARES_OF_DELTAS / 2);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

            assertWithMessage("mean of " + values).that(mean).isNaN();
            assertWithMessage("mean by addAll(Stats) of " + values).that(meanByAddAllStats).isNaN();
          } else if (values.hasAnyPositiveInfinity() && values.hasAnyNegativeInfinity()) {
            assertWithMessage("mean of " + values).that(mean).isNaN();
            assertWithMessage("mean by addAll(Stats) of " + values).that(meanByAddAllStats).isNaN();
          } else if (values.hasAnyPositiveInfinity()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 34K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/DoubleMathTest.java

      public void testLog2NaNInfinity() {
        assertEquals(Double.POSITIVE_INFINITY, DoubleMath.log2(Double.POSITIVE_INFINITY));
        assertTrue(Double.isNaN(DoubleMath.log2(Double.NEGATIVE_INFINITY)));
        assertTrue(Double.isNaN(DoubleMath.log2(Double.NaN)));
      }
    
      @GwtIncompatible // StrictMath
      private strictfp double trueLog2(double d) {
        double trueLog2 = StrictMath.log(d) / StrictMath.log(2);
        // increment until it's >= the true value
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
Back to top