Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for FINITE (0.12 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/math/Stats.java

       * is not guaranteed to return zero when the dataset consists of the same value multiple times,
       * due to numerical errors. However, it is guaranteed never to return a negative result.
       *
       * <h3>Non-finite values</h3>
       *
       * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 25.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/math/DoubleMath.java

      public static int log2(double x, RoundingMode mode) {
        checkArgument(x > 0.0 && isFinite(x), "x must be positive and finite");
        int exponent = getExponent(x);
        if (!isNormal(x)) {
          return log2(x * IMPLICIT_BIT, mode) - SIGNIFICAND_BITS;
          // Do the calculation on a normal value.
        }
        // x is positive, finite, and normal
        boolean increment;
        switch (mode) {
          case UNNECESSARY:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

       *
       * <p>This is guaranteed to return zero if the dataset contains a single pair of finite values. It
       * is not guaranteed to return zero when the dataset consists of the same pair of values multiple
       * times, due to numerical errors.
       *
       * <h3>Non-finite values</h3>
       *
       * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/PairedStats.java

       *
       * <p>This is guaranteed to return zero if the dataset contains a single pair of finite values. It
       * is not guaranteed to return zero when the dataset consists of the same pair of values multiple
       * times, due to numerical errors.
       *
       * <h3>Non-finite values</h3>
       *
       * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/StatsAccumulator.java

         *
         * Consequently:
         * 1. If the previous mean is finite and the new value is non-finite then the new mean is that
         *    value (whether it is NaN or infinity).
         * 2. If the new value is finite and the previous mean is non-finite then the mean is unchanged
         *    (whether it is NaN or infinity).
         * 3. If both the previous mean and the new value are non-finite and...
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/math/StatsTesting.java

      /**
       * Helper class for testing with non-finite values. {@link #ALL_MANY_VALUES} gives a number of
       * instances with many combinations of finite and non-finite values. All have {@link
       * #MANY_VALUES_COUNT} values. If all the values are finite then the mean is {@link
       * #MANY_VALUES_MEAN} and the sum-of-squares-of-deltas is {@link
       * #MANY_VALUES_SUM_OF_SQUARES_OF_DELTAS}. The smallest and largest finite values are always
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 24K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/math/QuantilesTest.java

       *   computeInPlace;
       * - (except that, for non-finite values, we don't do all combinations exhaustively);
       * - percentiles with index and with indexes taking int-varargs, and with compute taking a
       *   double-collection and with computeInPlace.
       */
    
      private static final double ALLOWED_ERROR = 1.0e-10;
    
      /**
       * A {@link Correspondence} which accepts finite values within {@link #ALLOWED_ERROR} of each
       * other.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/math/QuantilesTest.java

       *   computeInPlace;
       * - (except that, for non-finite values, we don't do all combinations exhaustively);
       * - percentiles with index and with indexes taking int-varargs, and with compute taking a
       *   double-collection and with computeInPlace.
       */
    
      private static final double ALLOWED_ERROR = 1.0e-10;
    
      /**
       * A {@link Correspondence} which accepts finite values within {@link #ALLOWED_ERROR} of each
       * other.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

            .isWithin(ALLOWED_ERROR)
            .of(MANY_VALUES_MEAN);
        // For datasets of many double values created from an iterable, we test many combinations of
        // finite and non-finite values:
        for (ManyValues values : ALL_MANY_VALUES) {
          StatsAccumulator accumulator = new StatsAccumulator();
          StatsAccumulator accumulatorByAddAllStats = new StatsAccumulator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

        assertThat(TWO_VALUES_PAIRED_STATS.populationCovariance())
            .isWithin(ALLOWED_ERROR)
            .of(TWO_VALUES_SUM_OF_PRODUCTS_OF_DELTAS / 2);
        // For datasets of many double values, we test many combinations of finite and non-finite
        // x-values:
        for (ManyValues values : ALL_MANY_VALUES) {
          PairedStats stats = createPairedStatsOf(values.asIterable(), OTHER_MANY_VALUES);
          double populationCovariance = stats.populationCovariance();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 14.1K bytes
    - Click Count (0)
Back to Top