RFR: 8341470: BigDecimal.stripTrailingZeros() optimization [v33]

Raffaello Giulietti rgiulietti at openjdk.org
Thu Oct 10 21:57:16 UTC 2024


On Thu, 10 Oct 2024 20:25:09 GMT, fabioromano1 <duke at openjdk.org> wrote:

>> The name `maxPowsOf5` has been chosen for consistence with `powsOf2`.
>
> Could make sense using Math.round() instead of Math.ceil() to get better upper bound?

I'll have to check...
... tomorrow ;-)

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/21323#discussion_r1796140763


More information about the core-libs-dev mailing list