Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for InfinityF (0.2 sec)

  1. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  2. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  3. 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)
  4. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 31.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      }
    
      public void testLog2Zero() {
        assertEquals(Double.NEGATIVE_INFINITY, DoubleMath.log2(0.0));
        assertEquals(Double.NEGATIVE_INFINITY, DoubleMath.log2(-0.0));
      }
    
      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)));
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/ToDoubleRounder.java

              return Double.MAX_VALUE * sign(x);
            case FLOOR:
              return (roundArbitrarily == Double.POSITIVE_INFINITY)
                  ? Double.MAX_VALUE
                  : Double.NEGATIVE_INFINITY;
            case CEILING:
              return (roundArbitrarily == Double.POSITIVE_INFINITY)
                  ? Double.POSITIVE_INFINITY
                  : -Double.MAX_VALUE;
            case UP:
              return roundArbitrarily;
            case UNNECESSARY:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/math/PairedStatsAccumulator.java

       * times, due to numerical errors.
       *
       * <h3>Non-finite values</h3>
       *
       * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link
       * Double#NEGATIVE_INFINITY}, or {@link Double#NaN}) then the result is {@link Double#NaN}.
       *
       * @throws IllegalStateException if the dataset is empty
       */
      public double populationCovariance() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/Stats.java

       * contains both {@link Double#POSITIVE_INFINITY} and {@link Double#NEGATIVE_INFINITY} then the
       * result is {@link Double#NaN}. If it contains {@link Double#POSITIVE_INFINITY} and finite values
       * only or {@link Double#POSITIVE_INFINITY} only, the result is {@link Double#POSITIVE_INFINITY}.
       * If it contains {@link Double#NEGATIVE_INFINITY} and finite values only or {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 22K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/QuantilesTest.java

                2, POSITIVE_INFINITY,
                8, POSITIVE_INFINITY,
                9, POSITIVE_INFINITY, // interpolating between two POSITIVE_INFINITY values
                10, POSITIVE_INFINITY);
      }
    
      public void testScale_indexes_varargs_compute_doubleCollection_nan() {
        assertThat(Quantiles.scale(10).indexes(0, 1, 2, 8, 9, 10).compute(ONE_TO_FIVE_AND_NAN))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/QuantilesTest.java

                2, POSITIVE_INFINITY,
                8, POSITIVE_INFINITY,
                9, POSITIVE_INFINITY, // interpolating between two POSITIVE_INFINITY values
                10, POSITIVE_INFINITY);
      }
    
      public void testScale_indexes_varargs_compute_doubleCollection_nan() {
        assertThat(Quantiles.scale(10).indexes(0, 1, 2, 8, 9, 10).compute(ONE_TO_FIVE_AND_NAN))
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
Back to top