Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for BigDecimalMath (0.25 sec)

  1. guava/src/com/google/common/math/BigDecimalMath.java

    /**
     * A class for arithmetic on {@link BigDecimal} that is not covered by its built-in methods.
     *
     * @author Louis Wasserman
     * @since 30.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public class BigDecimalMath {
      private BigDecimalMath() {}
    
      /**
       * Returns {@code x}, rounded to a {@code double} with the specified rounding mode. If {@code x}
       * is precisely representable as a {@code double}, its {@code double} value will be returned;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/BigDecimalMath.java

    /**
     * A class for arithmetic on {@link BigDecimal} that is not covered by its built-in methods.
     *
     * @author Louis Wasserman
     * @since 30.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public class BigDecimalMath {
      private BigDecimalMath() {}
    
      /**
       * Returns {@code x}, rounded to a {@code double} with the specified rounding mode. If {@code x}
       * is precisely representable as a {@code double}, its {@code double} value will be returned;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            RoundingMode mode = entry.getKey();
            Double expectation = entry.getValue();
            assertWithMessage("roundToDouble(" + input + ", " + mode + ")")
                .that(BigDecimalMath.roundToDouble(input, mode))
                .isEqualTo(expectation);
          }
    
          if (!expectedValues.containsKey(UNNECESSARY)) {
            assertWithMessage("Expected roundUnnecessaryShouldThrow call")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top