Skip to main content

mul_wide

Function mul_wide 

Source
pub const fn mul_wide(
    lhs: &[Limb],
    rhs: &[Limb],
    lo: &mut [Limb],
    hi: &mut [Limb],
)
Expand description

Schoolbook multiplication a.k.a. long multiplication, i.e. the traditional method taught in schools.

The most efficient method for small numbers.