Integrated: 8272541: Incorrect overflow test in Toom-Cook branch of BigInteger multiplication
Brian Burkhalter
bpb at openjdk.java.net
Fri Aug 27 16:12:33 UTC 2021
On Mon, 16 Aug 2021 21:00:00 GMT, Brian Burkhalter <bpb at openjdk.org> 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.
This pull request has now been integrated.
Changeset: d1aeca11
Author: Brian Burkhalter <bpb at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/d1aeca117ccc4334d67b2692ff087a9f8d808a59
Stats: 30 lines in 2 files changed: 18 ins; 3 del; 9 mod
8272541: Incorrect overflow test in Toom-Cook branch of BigInteger multiplication
Reviewed-by: darcy
-------------
PR: https://git.openjdk.java.net/jdk/pull/5130
More information about the core-libs-dev
mailing list