Re: RFR: 8272541: Incorrect overflow test in Toom-Cook branch of BigInteger multiplication

2021-08-26 Thread Joe Darcy
On Mon, 16 Aug 2021 21:00:00 GMT, Brian Burkhalter wrote: > Please consider this change which would modify a conditional `a + b > c` > where the left side variables are `int`s and the right side is > `(long)Integer.MAX_VALUE + 1`. The change is to cast the left side variables > to `long`s. Ma

RFR: 8272541: Incorrect overflow test in Toom-Cook branch of BigInteger multiplication

2021-08-16 Thread Brian Burkhalter
Please consider this change which would modify a conditional `a + b > c` where the left side variables are `int`s and the right side is `(long)Integer.MAX_VALUE + 1`. The change is to cast the left side variables to `long`s. - Commit messages: - 8272541: Incorrect overflow test in