On Tue, 20 Jan 2026 18:34:35 GMT, Joe Darcy <[email protected]> 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 <[email protected]> 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
