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

fabioromano1 duke at openjdk.org
Sat Sep 13 21:53:53 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:

  Refine comment

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27271/files
  - new: https://git.openjdk.org/jdk/pull/27271/files/1d26f0e2..41f6ef9e

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

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