- Added
PrimitiveBytesto consolidate the constraints onPrimitiveNumber::Bytes- Extended with
IndexMut<usize>, andPartialEqandTryFromwith slice refs. - Added array construction methods
from_fnandrepeat.
- Extended with
- Updated to MSRV 1.91.
- Added
PrimitiveInteger::strict_{add,div,{div,rem}_euclid,mul,neg,pow,rem,shl,shr,sub} - Added
PrimitiveSigned::strict_{abs,{add,sub}_unsigned} - Added
PrimitiveUnsigned::strict_{abs,{add,sub}_signed} - Added
PrimitiveUnsigned::{borrowing_sub,carrying_{add,mul,mul_add},checked_signed_diff}
- Updated to MSRV 1.90.
- Added
PrimitiveUnsigned::{checked,overflowing,saturating,wrapping}_sub_signed
- Added
PrimitiveNumber::midpoint - Removed
Primitive{Float,Signed,Unsigned}::midpoint
- Updated to MSRV 1.87.
- Added
PrimitiveInteger::{unbounded_shl,unbounded_shr} - Added
PrimitiveSigned::{cast_unsigned,midpoint} - Added
PrimitiveUnsigned::{cast_signed,is_multiple_of}
- Updated to MSRV 1.86.
- Added
PrimitiveFloat::next_downandnext_up.
- Doc-only, updated 0.1 references to 0.2.
PrimitiveFloatincludes supertraitsPrimitiveFloatToIntfor all integers. However,PrimitiveFloatToIntlost its supertraitPrimitiveFloatin kind.PrimitiveNumberadded type-casting methodsas_fromandas_to.PrimitiveNumber::Bytesadded supertraits for its array representation.
- Link documentation to inherent methods.
- Initial release with MSRV 1.85.