Java 8 RFR 6480539: BigDecimal.stripTrailingZeros() has no effect on zero itself ("0.0")
Brian Burkhalter
brian.burkhalter at oracle.com
Tue Jul 9 19:46:20 UTC 2013
On Jul 9, 2013, at 12:17 PM, Joe Darcy wrote:
> If the specification change
>
> [...] If
> 2596 * {@code compareMagnitude(BigDecimal.ZERO) == 0}, then
> 2597 * {@code BigDecimal.ZERO} is returned.
>
> is modified to something like "If this BigDecimal is numerically equal to zero, then BigDecimal.ZERO is returned." then the change will be ready to go back.
Done:
http://cr.openjdk.java.net/~bpb/6480539/
Thanks,
Brian
More information about the core-libs-dev
mailing list