RFR: 8367603: Optimize exact division in BigDecimal [v7]

fabioromano1 duke at openjdk.org
Sun Sep 14 12:14:54 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.
> [Here is a proof for the formula.](https://github.com/user-attachments/files/22314648/frazioni_decimali.pdf)

fabioromano1 has updated the pull request incrementally with one additional commit since the last revision:

  Comment refinement

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27271/files
  - new: https://git.openjdk.org/jdk/pull/27271/files/7db21481..4bbc4db3

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27271&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27271&range=05-06

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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