Function eikon3ds_core::arch::arithmetic_flag::did_add_generate_carry
source · pub fn did_add_generate_carry(sum: u64) -> bool
Expand description
Returns if the sum of an addition operation between two integers generated an arithmetic carry.
Since operation is carried out between two u32 integers, if the results is greater than 0xFFFF_FFFF, then bit 31 was carried into bit 32, indicating a carry.