Skip to main content

carrying_mul_add

Function carrying_mul_add 

Source
pub(crate) const fn carrying_mul_add(
    lhs: Word,
    rhs: Word,
    addend: Word,
    carry: Word,
) -> (Word, Word)
Expand description

Computes (lhs * rhs) + addend + carry, returning the result along with the new carry.