Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for InfinityF (0.5 sec)

  1. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        checkTryParse(Float.POSITIVE_INFINITY, "Infinity");
        checkTryParse(Float.POSITIVE_INFINITY, "+Infinity");
        checkTryParse(Float.NEGATIVE_INFINITY, "-Infinity");
      }
    
      private static final String[] BAD_TRY_PARSE_INPUTS = {
        "",
        "+-",
        "+-0",
        " 5",
        "32 ",
        " 55 ",
        "infinity",
        "POSITIVE_INFINITY",
        "0x9A",
        "0x9A.bE-5",
        ".",
    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)
  2. guava-tests/test/com/google/common/primitives/DoublesTest.java

        checkTryParse(Double.POSITIVE_INFINITY, "Infinity");
        checkTryParse(Double.POSITIVE_INFINITY, "+Infinity");
        checkTryParse(Double.NEGATIVE_INFINITY, "-Infinity");
      }
    
      private static final String[] BAD_TRY_PARSE_INPUTS = {
        "",
        "+-",
        "+-0",
        " 5",
        "32 ",
        " 55 ",
        "infinity",
        "POSITIVE_INFINITY",
        "0x9A",
        "0x9A.bE-5",
        ".",
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        checkTryParse(Double.POSITIVE_INFINITY, "Infinity");
        checkTryParse(Double.POSITIVE_INFINITY, "+Infinity");
        checkTryParse(Double.NEGATIVE_INFINITY, "-Infinity");
      }
    
      private static final String[] BAD_TRY_PARSE_INPUTS = {
        "",
        "+-",
        "+-0",
        " 5",
        "32 ",
        " 55 ",
        "infinity",
        "POSITIVE_INFINITY",
        "0x9A",
        "0x9A.bE-5",
        ".",
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/LinearTransformationTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> LinearTransformation.mapping(Double.POSITIVE_INFINITY, 3.4));
      }
    
      public void testMapping_infiniteY1() {
        assertThrows(
            IllegalArgumentException.class,
            () -> LinearTransformation.mapping(1.2, Double.NEGATIVE_INFINITY));
      }
    
      public void testMappingAnd_infiniteX2() {
        assertThrows(
            IllegalArgumentException.class,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

        assertThrows(
            IllegalArgumentException.class,
            () -> LinearTransformation.mapping(Double.POSITIVE_INFINITY, 3.4));
      }
    
      public void testMapping_infiniteY1() {
        assertThrows(
            IllegalArgumentException.class,
            () -> LinearTransformation.mapping(1.2, Double.NEGATIVE_INFINITY));
      }
    
      public void testMappingAnd_infiniteX2() {
        assertThrows(
            IllegalArgumentException.class,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

        if (lower == NEGATIVE_INFINITY) {
          if (upper == POSITIVE_INFINITY) {
            // Return NaN when lower == NEGATIVE_INFINITY and upper == POSITIVE_INFINITY:
            return NaN;
          }
          // Return NEGATIVE_INFINITY when NEGATIVE_INFINITY == lower <= upper < POSITIVE_INFINITY:
          return NEGATIVE_INFINITY;
        }
        if (upper == POSITIVE_INFINITY) {
    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)
  7. guava-tests/test/com/google/common/math/StatsTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    import static java.lang.Double.NEGATIVE_INFINITY;
    import static java.lang.Double.NaN;
    import static java.lang.Double.POSITIVE_INFINITY;
    import static java.lang.Math.sqrt;
    import static java.util.Arrays.stream;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.ImmutableList;
    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)
  8. guava-tests/test/com/google/common/math/PairedStatsTest.java

        assertThat(ONE_VALUE_PAIRED_STATS.populationCovariance()).isWithin(0.0).of(0.0);
        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();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

        assertThat(ONE_VALUE_PAIRED_STATS.populationCovariance()).isWithin(0.0).of(0.0);
        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();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertEvents("R0.00", "R1.00", "R1.00");
    
        limiter.setRate(Double.POSITIVE_INFINITY);
        limiter.acquire();
        limiter.acquire();
        limiter.acquire();
        assertEvents("R1.00", "R0.00", "R0.00");
      }
    
      public void testInfinity_WarmUpTimeElapsed() {
        RateLimiter limiter = RateLimiter.create(Double.POSITIVE_INFINITY, 10, SECONDS, 3.0, stopwatch);
        stopwatch.instant += 1000000;
        limiter.setRate(1.0);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
Back to top