On Thu, 6 Nov 2025 19:07:11 GMT, Raffaello Giulietti <[email protected]> 
wrote:

>> I think they do, @rgiulietti do you think the test coverage is adequate?
>
> Sorry @fabioromano1 for being late.
> 
> From what I see, the tests that involve terminating quotients are in 
> `powersOf2and5()` and `properScaleTests()`.
> 
> I would add a specific additional test method where dividends and divisors 
> are not just of the form 2^e2 ⋅ 5^e5, but a bit more general, like 21⋅10^3 / 
> 140⋅10^6 and similar.
> The test cases should exercise the implementation's cases of e2 ≤ e5, e2 > 
> e5, `scaleDiff` in the `int` range and outside (in both directions), and 
> maybe even some cases where the theoretical quotient is terminating but where 
> limits are exceeded, leading to exceptions that need to be caught in the test.

The implementation looks fine.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27271#discussion_r2500455649

Reply via email to