Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for doubleValue (0.37 sec)

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

      }
    
      public void testConstantsEverySixteenthFactorial() {
        for (int i = 0, n = 0; n <= DoubleMath.MAX_FACTORIAL; i++, n += 16) {
          assertEquals(
              BigIntegerMath.factorial(n).doubleValue(), DoubleMath.everySixteenthFactorial[i]);
        }
      }
    
      @GwtIncompatible // DoubleMath.roundToInt(double, RoundingMode)
      public void testRoundIntegralDoubleToInt() {
        for (double d : 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. guava-tests/test/com/google/common/math/MathTesting.java

            Iterables.filter(
                FINITE_DOUBLE_CANDIDATES,
                new Predicate<Double>() {
                  @Override
                  public boolean apply(Double input) {
                    return input.doubleValue() > 0.0;
                  }
                });
        DOUBLE_CANDIDATES_EXCEPT_NAN = Iterables.concat(FINITE_DOUBLE_CANDIDATES, INFINITIES);
    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)
  3. android/guava-tests/test/com/google/common/math/MathTesting.java

            Iterables.filter(
                FINITE_DOUBLE_CANDIDATES,
                new Predicate<Double>() {
                  @Override
                  public boolean apply(Double input) {
                    return input.doubleValue() > 0.0;
                  }
                });
        DOUBLE_CANDIDATES_EXCEPT_NAN = Iterables.concat(FINITE_DOUBLE_CANDIDATES, INFINITIES);
    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)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

            is ErrorValue.ErrorValueWithMessage -> KtConstantValue.KtErrorConstantValue(message, sourcePsi = null)
            is BooleanValue -> KtConstantValue.KtBooleanConstantValue(value, sourcePsi = null)
            is DoubleValue -> KtConstantValue.KtDoubleConstantValue(value, sourcePsi = null)
            is FloatValue -> KtConstantValue.KtFloatConstantValue(value, sourcePsi = null)
            is NullValue -> KtConstantValue.KtNullConstantValue(sourcePsi = null)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            } else if (value instanceof Long || value instanceof Integer) {
                buf.append(((Number) value).longValue());
            } else if (value instanceof Number) {
                buf.append(((Number) value).doubleValue());
            } else {
                buf.append('"').append(StringEscapeUtils.escapeJson(value.toString())).append('"');
            }
            return buf;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/OrderingTest.java

        assertSame(a, numberOrdering.min(a, b));
      }
    
      private static class NumberOrdering extends Ordering<Number> {
        @Override
        public int compare(Number a, Number b) {
          return ((Double) a.doubleValue()).compareTo(b.doubleValue());
        }
    
        @Override
        public int hashCode() {
          return NumberOrdering.class.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object other) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        assertSame(a, numberOrdering.min(a, b));
      }
    
      private static class NumberOrdering extends Ordering<Number> {
        @Override
        public int compare(Number a, Number b) {
          return ((Double) a.doubleValue()).compareTo(b.doubleValue());
        }
    
        @Override
        public int hashCode() {
          return NumberOrdering.class.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object other) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
Back to top