Safe Numerics Library
Arithmetic operations in C++ are NOT guaranteed to yield a correct mathematical result. This feature is inherited from the early days of C. The behavior of
I have crafted a library to address this issue once and for all. You can find out more about this by checking out the page for Safe Numerics at the boost library incubator.
I've also made a proposal for the C++ Standards commitee to include a simplified version of this library as part of he C++ standard. You can see the proposal here.
Article in ACCU Overload "Correct Integer Operations with Minimal Runtime Penalties"
Monday September 21, 2016
Safe Numerics Presentation at CPPCon 2016
Safe Numerics Library submission to C++ Standard Commitee.