Integrated: [type-classes] 8335451: Prototype support for an exact integer arithmetic type
Joe Darcy
darcy at openjdk.org
Thu Jan 29 23:21:38 UTC 2026
On Tue, 20 Jan 2026 18:34:35 GMT, Joe Darcy <darcy at openjdk.org> wrote:
> The Math class has support for "exact" forms of int and long add, subtract, multiply, and divide that throw exceptions instead of wrapping around in a two's complement sense. This nested class in Integer prototype what adding type-level support for that functionality would look like.
This pull request has now been integrated.
Changeset: e68dfd6f
Author: Joe Darcy <darcy at openjdk.org>
URL: https://git.openjdk.org/valhalla/commit/e68dfd6fbf2e7a17fa8359bd8b6187b522eb44ec
Stats: 566 lines in 1 file changed: 565 ins; 0 del; 1 mod
[type-classes] 8335451: Prototype support for an exact integer arithmetic type
-------------
PR: https://git.openjdk.org/valhalla/pull/1937
More information about the valhalla-dev
mailing list