Expand description

XXXAddYYYToZZZ, a trait for adding two triple-width numbers and returning the result as a triple-width number.

xxx_add_yyy_to_zzz

use malachite_base::num::arithmetic::traits::XXXAddYYYToZZZ;

assert_eq!(
    u64::xxx_add_yyy_to_zzz(0x12, 0x34, 0x56, 0x33, 0x33, 0x33),
    (0x45, 0x67, 0x89)
);
assert_eq!(
    u8::xxx_add_yyy_to_zzz(0x78, 0x9a, 0xbc, 0xde, 0xfe, 0xdc),
    (0x57, 0x99, 0x98)
);