mod bits;
mod carrying;
mod checked;
mod cmp;
mod convert;
mod endian;
mod impls;
mod intrinsics;
mod math;
mod num;
mod overflowing;
mod saturating;
mod strict;
mod widening;
mod wrapping;
use bnum::BInt;
use crate::bint::{consts::consts_impl, doc};
#[derive(Clone, Copy, Hash, PartialEq, Eq, PartialOrd, Ord)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[cfg_attr(
feature = "borsh",
derive(borsh::BorshSerialize, borsh::BorshDeserialize, borsh::BorshSchema)
)]
#[repr(transparent)]
pub struct Int<const N: usize>(pub(super) BInt<N>);
consts_impl!(Int, I, BInt);