On Tue, 9 Jan 2024 18:24:49 GMT, fabioromano1 <d...@openjdk.org> wrote:

>> The method `MutableBigInteger.divWord(long, int)` can use the algorithm of 
>> Hacker's Delight (2nd ed), section 9.3, the same used in 
>> `Long.divideUnsigned(long, long)` and `Long.remainderUnsigned(long, long)`, 
>> to get the computation faster.
>
> fabioromano1 has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Removed trailing whitespaces

Sure. But the purpose of a test is not much to check the _current_ code but to 
protect against erroneous changes in the future. Without a test, a later 
modification might introduce an undetected regression.

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

PR Comment: https://git.openjdk.org/jdk/pull/17291#issuecomment-1904265345

Reply via email to