Repository navigation
Tags: nilscript/bounded-integer
Tags
Version 0.4.0 - The manual_range_contains Clippy lint will no longer fire. - Some constructors and getters have been made `const`. - RANGE and new_wrapping have been removed, as their implementations had problems with overflow. - Access to the `bounded_integer` crate is now always required in the macro, even with the `serde` feature disabled.
Version 0.3.0 - Bounded integers are now #[repr(transparent)] around the type they are stored as. - #[repr(..)] is no longer necessary on the declaration, the smallest type is automatically chosen. - The inner value of a bounded struct is now inaccessible to prevent breaking of invariants in the same module. - Z0 has been renamed to simply Z. - The std::iter::Sum and std::iter::Product traits have been implemented where possible. - More comparison and arithmetic traits are implemented. - From<bounded type> has been implemented for primitives where possible.