> An optimized algorithm for `BigDecimal.stripTrailingZeros()` that uses > repeated squares trick.
fabioromano1 has updated the pull request incrementally with one additional commit since the last revision: Speed up computation of shiftRight() and bitLength() ------------- Changes: - all: https://git.openjdk.org/jdk/pull/21323/files - new: https://git.openjdk.org/jdk/pull/21323/files/bef9f63e..eb85b04e Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=21323&range=28 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21323&range=27-28 Stats: 6 lines in 1 file changed: 5 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/21323.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/21323/head:pull/21323 PR: https://git.openjdk.org/jdk/pull/21323