Java 8 RFR 6480539: BigDecimal.stripTrailingZeros() has no effect on zero itself ("0.0")
Joe Darcy
joe.darcy at oracle.com
Tue Jul 9 19:17:02 UTC 2013
On 07/09/2013 11:46 AM, Brian Burkhalter wrote:
> I've updated the webrev
>
> http://cr.openjdk.java.net/~bpb/6480539/
>
> with all suggested changes. The javadoc change (CCC request) was approved.
>
> Thanks,
>
> Brian
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.
Cheers,
-Joe
More information about the core-libs-dev
mailing list