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

fabioromano1 duke at openjdk.org
Mon Oct 14 15:47:13 UTC 2024


On Mon, 14 Oct 2024 15:30:16 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

>> Maybe something like "too few powers of five left to remove with respect to the number of removable zeros in the initial value of intVal", I can't think of anything better for now...
>
> OK, let me give it a try, maybe tomorrow.

@rgiulietti Or maybe "i.e., 5^(2^i) is larger than the largest power of five that is still removable from intVal", could it be ok?

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

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


More information about the core-libs-dev mailing list