Skip to main content

fastnum/bint/uint/
widening.rs

1use crate::bint::{doc, uint::math, widening::widening_impl, UInt};
2
3widening_impl!(UInt, U);
4
5impl<const N: usize> UInt<N> {
6    #[doc = doc::widening::widening_mul!(U 256)]
7    #[must_use = doc::must_use_op!()]
8    #[inline(always)]
9    pub const fn widening_mul(self, rhs: Self) -> (Self, Self) {
10        math::mul::widening_mul(self, rhs)
11    }
12}