pub fn did_add_generate_overflow(addend_a: u32, addend_b: u32, sum: u32) -> bool
Expand description

Returns if two addends and their sum generated an arithmetic overflow.

An addition overflow is identified if the sign of both addends are the same and the sign of the sum is different from both addends.