pub fn did_sub_generate_overflow(
    minuend: u32,
    subtrahend: u32,
    difference: u32
) -> bool
Expand description

Returns if the subtraction operation between the minuend and subtrahend integers and their difference generated an arithmetic overflow.

An subtraction overflow is identified if the sign of the minuend and subtrahend are different and the difference has the same sign as the subtrahend.