- Updated to MSRV 1.94.
- Added
PrimitiveFloat::{EULER_GAMMA, GOLDEN_RATIO}.
- Link
constdocumentation to the standard library.
- Updated to MSRV 1.93.
- Added
PrimitiveInteger::unchecked_{shl,shr}. - Added
PrimitiveSigned::unchecked_neg.
- Added
PrimitiveInteger::from_str_radix. - Specified error types in
PrimitiveInteger: FromStr,PrimitiveSigned: TryFrom<i8>, andPrimitiveUnsigned: TryFrom<u8>.
- 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
- Backported
PrimitiveInteger::from_str_radixfrom 0.3.4.
- 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.
- Backported
PrimitiveInteger::from_str_radixfrom 0.3.4.
- Link documentation to inherent methods.
- Initial release with MSRV 1.85.