Java 8 RFR 6480539: BigDecimal.stripTrailingZeros() has no effect on zero itself ("0.0")
Joseph Darcy
joe.darcy at oracle.com
Tue Jul 9 23:13:59 UTC 2013
On 7/9/2013 12:46 PM, Brian Burkhalter wrote:
> 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/
>
>
That version look fine; thanks,
-Joe
More information about the core-libs-dev
mailing list