rust-num/num-traits (num-traits)
### [`v0.2.16`](https://togithub.com/rust-num/num-traits/blob/HEAD/RELEASES.md#Release-0216-2023-07-20)
[Compare Source](https://togithub.com/rust-num/num-traits/compare/num-traits-0.2.15...num-traits-0.2.16)
- [Upgrade to 2018 edition, **MSRV 1.31**][240]
- [The new `ToBytes` and `FromBytes` traits][224] 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][279], with
a non-zero magnitude that is less than the normal minimum positive value.
- Several other improvements to documentation and testing.
**Contributors**: [@ctrlcctrlv](https://togithub.com/ctrlcctrlv), [@cuviper](https://togithub.com/cuviper), [@flier](https://togithub.com/flier), [@GuillaumeGomez](https://togithub.com/GuillaumeGomez), [@kaidokert](https://togithub.com/kaidokert),
[@rs017991](https://togithub.com/rs017991), [@vicsn](https://togithub.com/vicsn)
[224]: https://togithub.com/rust-num/num-traits/pull/224
[240]: https://togithub.com/rust-num/num-traits/pull/240
[279]: https://togithub.com/rust-num/num-traits/pull/279
### [`v0.2.15`](https://togithub.com/rust-num/num-traits/blob/HEAD/RELEASES.md#Release-0215-2022-05-02)
[Compare Source](https://togithub.com/rust-num/num-traits/compare/num-traits-0.2.14...num-traits-0.2.15)
- [The new `Euclid` trait calculates Euclidean division][195], where the
remainder is always positive or zero.
- [The new `LowerBounded` and `UpperBounded` traits][210] separately describe
types with lower and upper bounds. These traits are automatically implemented
for all fully-`Bounded` types.
- [The new `Float::copysign` method copies the sign of the argument][207] to
to the magnitude of `self`.
- [The new `PrimInt::leading_ones` and `trailing_ones` methods][205] are the
complement of the existing methods that count zero bits.
- [The new `PrimInt::reverse_bits` method reverses the order of all bits][202]
of a primitive integer.
- [Improved `Num::from_str_radix` for floats][201], also [ignoring case][214].
- [`Float` and `FloatCore` use more from `libm`][196] when that is enabled.
**Contributors**: [@alion02](https://togithub.com/alion02), [@clarfonthey](https://togithub.com/clarfonthey), [@cuviper](https://togithub.com/cuviper), [@ElectronicRU](https://togithub.com/ElectronicRU),
[@ibraheemdev](https://togithub.com/ibraheemdev), [@SparrowLii](https://togithub.com/SparrowLii), [@sshilovsky](https://togithub.com/sshilovsky), [@tspiteri](https://togithub.com/tspiteri), [@XAMPPRocky](https://togithub.com/XAMPPRocky), [@Xiretza](https://togithub.com/Xiretza)
[195]: https://togithub.com/rust-num/num-traits/pull/195
[196]: https://togithub.com/rust-num/num-traits/pull/196
[201]: https://togithub.com/rust-num/num-traits/pull/201
[202]: https://togithub.com/rust-num/num-traits/pull/202
[205]: https://togithub.com/rust-num/num-traits/pull/205
[207]: https://togithub.com/rust-num/num-traits/pull/207
[210]: https://togithub.com/rust-num/num-traits/pull/210
[214]: https://togithub.com/rust-num/num-traits/pull/214
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.2.14
->0.2.16
Release Notes
rust-num/num-traits (num-traits)
### [`v0.2.16`](https://togithub.com/rust-num/num-traits/blob/HEAD/RELEASES.md#Release-0216-2023-07-20) [Compare Source](https://togithub.com/rust-num/num-traits/compare/num-traits-0.2.15...num-traits-0.2.16) - [Upgrade to 2018 edition, **MSRV 1.31**][240] - [The new `ToBytes` and `FromBytes` traits][224] 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][279], with a non-zero magnitude that is less than the normal minimum positive value. - Several other improvements to documentation and testing. **Contributors**: [@ctrlcctrlv](https://togithub.com/ctrlcctrlv), [@cuviper](https://togithub.com/cuviper), [@flier](https://togithub.com/flier), [@GuillaumeGomez](https://togithub.com/GuillaumeGomez), [@kaidokert](https://togithub.com/kaidokert), [@rs017991](https://togithub.com/rs017991), [@vicsn](https://togithub.com/vicsn) [224]: https://togithub.com/rust-num/num-traits/pull/224 [240]: https://togithub.com/rust-num/num-traits/pull/240 [279]: https://togithub.com/rust-num/num-traits/pull/279 ### [`v0.2.15`](https://togithub.com/rust-num/num-traits/blob/HEAD/RELEASES.md#Release-0215-2022-05-02) [Compare Source](https://togithub.com/rust-num/num-traits/compare/num-traits-0.2.14...num-traits-0.2.15) - [The new `Euclid` trait calculates Euclidean division][195], where the remainder is always positive or zero. - [The new `LowerBounded` and `UpperBounded` traits][210] separately describe types with lower and upper bounds. These traits are automatically implemented for all fully-`Bounded` types. - [The new `Float::copysign` method copies the sign of the argument][207] to to the magnitude of `self`. - [The new `PrimInt::leading_ones` and `trailing_ones` methods][205] are the complement of the existing methods that count zero bits. - [The new `PrimInt::reverse_bits` method reverses the order of all bits][202] of a primitive integer. - [Improved `Num::from_str_radix` for floats][201], also [ignoring case][214]. - [`Float` and `FloatCore` use more from `libm`][196] when that is enabled. **Contributors**: [@alion02](https://togithub.com/alion02), [@clarfonthey](https://togithub.com/clarfonthey), [@cuviper](https://togithub.com/cuviper), [@ElectronicRU](https://togithub.com/ElectronicRU), [@ibraheemdev](https://togithub.com/ibraheemdev), [@SparrowLii](https://togithub.com/SparrowLii), [@sshilovsky](https://togithub.com/sshilovsky), [@tspiteri](https://togithub.com/tspiteri), [@XAMPPRocky](https://togithub.com/XAMPPRocky), [@Xiretza](https://togithub.com/Xiretza) [195]: https://togithub.com/rust-num/num-traits/pull/195 [196]: https://togithub.com/rust-num/num-traits/pull/196 [201]: https://togithub.com/rust-num/num-traits/pull/201 [202]: https://togithub.com/rust-num/num-traits/pull/202 [205]: https://togithub.com/rust-num/num-traits/pull/205 [207]: https://togithub.com/rust-num/num-traits/pull/207 [210]: https://togithub.com/rust-num/num-traits/pull/210 [214]: https://togithub.com/rust-num/num-traits/pull/214Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.