lexical_util::mul

Function mul

Source
pub fn mul<Full, Half>(x: Full, y: Full) -> (Full, Full)
where Full: UnsignedInteger, Half: UnsignedInteger,
Expand description

Multiply two unsigned, integral values, and return the hi and lo product.

The full type is the full type size, while the half type is the type with exactly half the bits.