Skip to content
Permalink
Browse files
8263726: divideToIntegralValue typo on BigDecimal documentation
Reviewed-by: bpb
  • Loading branch information
jddarcy committed Mar 17, 2021
1 parent cdf78e4 commit 24afa36d5c870b4f790ca2753107e12597e7262d
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/java.base/share/classes/java/math/BigDecimal.java
@@ -2001,7 +2001,7 @@ public BigDecimal remainder(BigDecimal divisor) {
* @throws ArithmeticException if {@code divisor==0}
* @throws ArithmeticException if the result is inexact but the
* rounding mode is {@code UNNECESSARY}, or {@code mc.precision}
* {@literal >} 0 and the result of {@code this.divideToIntgralValue(divisor)} would
* {@literal >} 0 and the result of {@code this.divideToIntegralValue(divisor)} would
* require a precision of more than {@code mc.precision} digits.
* @see #divideToIntegralValue(java.math.BigDecimal, java.math.MathContext)
* @since 1.5
@@ -2060,7 +2060,7 @@ public BigDecimal remainder(BigDecimal divisor, MathContext mc) {
* @throws ArithmeticException if {@code divisor==0}
* @throws ArithmeticException if the result is inexact but the
* rounding mode is {@code UNNECESSARY}, or {@code mc.precision}
* {@literal >} 0 and the result of {@code this.divideToIntgralValue(divisor)} would
* {@literal >} 0 and the result of {@code this.divideToIntegralValue(divisor)} would
* require a precision of more than {@code mc.precision} digits.
* @see #divideToIntegralValue(java.math.BigDecimal, java.math.MathContext)
* @see #remainder(java.math.BigDecimal, java.math.MathContext)

1 comment on commit 24afa36

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 24afa36 Mar 17, 2021

Please sign in to comment.