- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for BigDecimalMath (0.25 sec)
-
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) -
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) -
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)