On Fri, 24 Oct 2025 10:35:20 GMT, fabioromano1 <[email protected]> wrote:

>> An implementation of `BigDecimal.nthRoot(int, MathContext)`.
>
> fabioromano1 has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Correct call to rootn() in sqrt()

For n > 0 the spec speaks about 0.5 ulp and 1 ulp, but not about correct 
rounding, which is slightly more restrictive, as it includes a direction (up, 
down, to-even, etc.).
If the implementation already returns the correctly rounded result when n > 0, 
then the spec could be more precise.

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

PR Comment: https://git.openjdk.org/jdk/pull/27148#issuecomment-3444101040

Reply via email to