Sourced from num-traits's changelog.
Release 0.2.16 (2023-07-20)
- Upgrade to 2018 edition, MSRV 1.31
- The new
ToBytes
andFromBytes
traits convert to and from byte representations of a value, with little, big, and native-endian options.- The new
Float::is_subnormal
method checks for subnormal values, with a non-zero magnitude that is less than the normal minimum positive value.- Several other improvements to documentation and testing.
Contributors:
@ctrlcctrlv
,@cuviper
,@flier
,@GuillaumeGomez
,@kaidokert
,@rs017991
,@vicsn
c2de8be
Merge #2810e57dba
Release 0.2.164195ddf
Merge #224bbeeaa2
Allow FromBytes::Bytes to be unsizedc89a430
Clean up bytes examplese402e20
Remove the unnecessary $I in float bytes29b89c3
Add default impls of to/from_ne_bytes001dd32
Fix the cfg
attributes for bytes2505954
Split ToFrom to separate To and From traits447e05d
has_i128 is always assumed now