Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Fractional (0.16 sec)

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

    import static com.google.common.math.MathTesting.DOUBLE_CANDIDATES_EXCEPT_NAN;
    import static com.google.common.math.MathTesting.FINITE_DOUBLE_CANDIDATES;
    import static com.google.common.math.MathTesting.FRACTIONAL_DOUBLE_CANDIDATES;
    import static com.google.common.math.MathTesting.INFINITIES;
    import static com.google.common.math.MathTesting.INTEGRAL_DOUBLE_CANDIDATES;
    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)
  2. android/guava-tests/test/com/google/common/math/MathTesting.java

          double x = 1 / d;
          if (x != Math.rint(x)) {
            fractionalBuilder.add(x);
          }
        }
        FRACTIONAL_DOUBLE_CANDIDATES = fractionalBuilder.build();
        FINITE_DOUBLE_CANDIDATES =
            Iterables.concat(FRACTIONAL_DOUBLE_CANDIDATES, INTEGRAL_DOUBLE_CANDIDATES);
        POSITIVE_FINITE_DOUBLE_CANDIDATES =
            Iterables.filter(
                FINITE_DOUBLE_CANDIDATES,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

    import static com.google.common.math.MathTesting.DOUBLE_CANDIDATES_EXCEPT_NAN;
    import static com.google.common.math.MathTesting.FINITE_DOUBLE_CANDIDATES;
    import static com.google.common.math.MathTesting.FRACTIONAL_DOUBLE_CANDIDATES;
    import static com.google.common.math.MathTesting.INFINITIES;
    import static com.google.common.math.MathTesting.INTEGRAL_DOUBLE_CANDIDATES;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/MathTesting.java

          double x = 1 / d;
          if (x != Math.rint(x)) {
            fractionalBuilder.add(x);
          }
        }
        FRACTIONAL_DOUBLE_CANDIDATES = fractionalBuilder.build();
        FINITE_DOUBLE_CANDIDATES =
            Iterables.concat(FRACTIONAL_DOUBLE_CANDIDATES, INTEGRAL_DOUBLE_CANDIDATES);
        POSITIVE_FINITE_DOUBLE_CANDIDATES =
            Iterables.filter(
                FINITE_DOUBLE_CANDIDATES,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/QuantilesTest.java

        // For the otherIndex calculation, we have q=Integer.MAX_VALUE, k=(Integer.MAX_VALUE-1)/3, and
        // N=16. Therefore k*(N-1)/q = 5-5/Integer.MAX_VALUE, which has floor 4 and fractional part
        // (1-5/Integer.MAX_VALUE).
        double otherValue = 16.0 * 5.0 / Integer.MAX_VALUE + 25.0 * (1.0 - 5.0 / Integer.MAX_VALUE);
        assertThat(
    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)
  6. android/guava-tests/test/com/google/common/math/QuantilesTest.java

        // For the otherIndex calculation, we have q=Integer.MAX_VALUE, k=(Integer.MAX_VALUE-1)/3, and
        // N=16. Therefore k*(N-1)/q = 5-5/Integer.MAX_VALUE, which has floor 4 and fractional part
        // (1-5/Integer.MAX_VALUE).
        double otherValue = 16.0 * 5.0 / Integer.MAX_VALUE + 25.0 * (1.0 - 5.0 / Integer.MAX_VALUE);
        assertThat(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
Back to top