Expand description

XXSubYYToZZ, a trait for subtracting two double-width numbers and returning the result as a double-width number.

xx_sub_yy_to_zz

use malachite_base::num::arithmetic::traits::XXSubYYToZZ;

assert_eq!(u64::xx_sub_yy_to_zz(0x67, 0x89, 0x33, 0x33), (0x34, 0x56));
assert_eq!(u8::xx_sub_yy_to_zz(0x78, 0x9a, 0xbc, 0xde), (0xbb, 0xbc));