use crate::bint::{intrinsics::ExpType, UInt};
pub(crate) struct Intrinsics<const N: usize>;
pub(crate) const E_LIMIT: i32 = -(i16::MIN as i32);
pub(crate) const E_MIN: i32 = -(i16::MAX as i32);
impl<const N: usize> Intrinsics<N> {
pub(crate) const MAX_CLENGTH: ExpType = UInt::<N>::MAX.decimal_digits();
pub(crate) const E_MAX: i32 = E_LIMIT + (Self::MAX_CLENGTH as i32 - 1);
pub(crate) const E_SUBNORMAL: i32 = E_MIN + (Self::MAX_CLENGTH as i32 - 1);
pub(crate) const SERIES_MAX_ITERATIONS: u32 = Self::MAX_CLENGTH * 6;
}