HomeFreeBSD

include: Implement N2867.

Description

include: Implement N2867.

This adds macros for checked addition, subtraction, and multiplication with semantics similar to the builtins gcc and clang have had for years.

Reviewed by: kib, emaste
Differential Revision: https://reviews.freebsd.org/D41734

Details

Provenance
desAuthored on Sep 7 2023, 6:14 AM
Reviewer
kib
Differential Revision
D41734: include: Implement N2867.
Parents
rG12b1c1e3fb44: libc: Add test cases for N2680.
Branches
Unknown
Tags
Unknown