bnum/bint/bigint_helpers.rs
1macro_rules! bigint_helpers {
2 ($BUint: ident, $BInt: ident, $Digit: ident) => {
3 #[doc = doc::bigint_helpers::impl_desc!()]
4 impl<const N: usize> $BInt<N> {
5 crate::int::bigint_helpers::impls!(I);
6 }
7 };
8}
9
10#[cfg(test)]
11crate::test::all_digit_tests! {
12 use crate::test::types::itest;
13
14 crate::int::bigint_helpers::tests!(itest);
15}
16
17use crate::doc;
18
19crate::macro_impl!(bigint_helpers);