JDK-8366478 : BigDecimal roots
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.math
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2025-08-30
  • Updated: 2025-10-17
Related Reports
CSR :  
Causes :  
Relates :  
Relates :  
Description
The class `BigDecimal` already provides methods `pow()` and `sqrt()` for power and square root calculation, so, for symmetry, it would be useful introducing a method to compute integer nth roots too.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/27148 Date: 2025-09-08 16:25:00 +0000
08-09-2025