|
| 1 | +# Release 0.2.15 (2022-05-02) |
| 2 | + |
| 3 | +- [The new `Euclid` trait calculates Euclidean division][195], where the |
| 4 | + remainder is always positive or zero. |
| 5 | +- [The new `LowerBounded` and `UpperBounded` traits][210] separately describe |
| 6 | + types with lower and upper bounds. These traits are automatically implemented |
| 7 | + for all fully-`Bounded` types. |
| 8 | +- [The new `Float::copysign` method copies the sign of the argument][207] to |
| 9 | + to the magnitude of `self`. |
| 10 | +- [The new `PrimInt::leading_ones` and `trailing_ones` methods][205] are the |
| 11 | + complement of the existing methods that count zero bits. |
| 12 | +- [The new `PrimInt::reverse_bits` method reverses the order of all bits][202] |
| 13 | + of a primitive integer. |
| 14 | +- [Improved `Num::from_str_radix` for floats][201], also [ignoring case][214]. |
| 15 | +- [`Float` and `FloatCore` use more from `libm`][196] when that is enabled. |
| 16 | + |
| 17 | +**Contributors**: @alion02, @clarfonthey, @cuviper, @ElectronicRU, |
| 18 | +@ibraheemdev, @SparrowLii, @sshilovsky, @tspiteri, @XAMPPRocky, @Xiretza |
| 19 | + |
| 20 | +[195]: https://github.com/rust-num/num-traits/pull/195 |
| 21 | +[196]: https://github.com/rust-num/num-traits/pull/196 |
| 22 | +[201]: https://github.com/rust-num/num-traits/pull/201 |
| 23 | +[202]: https://github.com/rust-num/num-traits/pull/202 |
| 24 | +[205]: https://github.com/rust-num/num-traits/pull/205 |
| 25 | +[207]: https://github.com/rust-num/num-traits/pull/207 |
| 26 | +[210]: https://github.com/rust-num/num-traits/pull/210 |
| 27 | +[214]: https://github.com/rust-num/num-traits/pull/214 |
| 28 | + |
1 | 29 | # Release 0.2.14 (2020-10-29)
|
2 | 30 |
|
3 | 31 | - Clarify the license specification as "MIT OR Apache-2.0".
|
|
0 commit comments