• Orvid King's avatar
    Add a basic utility for checked addition of unsigned integers · c79ac334
    Orvid King authored
    Summary: A very basic function that if done incorrectly will get optimized away as undefined behavior. For now keep things simple and only support addition of unsigned values.
    
    Reviewed By: yfeldblum
    
    Differential Revision: D15609542
    
    fbshipit-source-id: 70d5fde784f57d3d52e6122352a885d7a835f104
    c79ac334
CheckedMath.h 1.02 KB