intel / safe-arithmetic

Safe arithmetic library for C++20 and above. Safe arithmetic ensures correctness of arithmetic operations at compile-time. It protects against overflow, underflow, divide by zero, and out-of-bounds index access. This provides both functional correctness as well as greater protection against related security threats.
90Updated 2 weeks ago

Alternatives and similar repositories for safe-arithmetic:

Users that are interested in safe-arithmetic are comparing it to the libraries listed below