RFR: 8367603: Optimize exact division in BigDecimal [v19]
fabioromano1
duke at openjdk.org
Fri Sep 26 19:47:10 UTC 2025
> A formula to lower the overestimate for the precision of an exact quotient, without introducing too expensive operations of division on numerator and denominator.
fabioromano1 has updated the pull request incrementally with one additional commit since the last revision:
Avoid incorrect results when the preferred scale exceeds int range
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27271/files
- new: https://git.openjdk.org/jdk/pull/27271/files/9b001352..53666c0f
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27271&range=18
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27271&range=17-18
Stats: 19 lines in 1 file changed: 14 ins; 2 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/27271.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27271/head:pull/27271
PR: https://git.openjdk.org/jdk/pull/27271
More information about the core-libs-dev
mailing list