aboutsummaryrefslogtreecommitdiff
path: root/RELEASES.md
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2022-12-13 08:12:42 +0100
committerJeff Vander Stoep <jeffv@google.com>2022-12-13 08:13:12 +0100
commit45f0c454805f8e571d97d4871ca11d6d0c884132 (patch)
treea46ea374237b97ba208970171b08f627c3b33e21 /RELEASES.md
parentd92e3fb7b91ea3506c16c7a01c21927608f36c34 (diff)
downloadnum-traits-45f0c454805f8e571d97d4871ca11d6d0c884132.tar.gz
Upgrade num-traits to 0.2.15
This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update rust/crates/num-traits For more info, check https://cs.android.com/android/platform/superproject/+/master:tools/external_updater/README.md Test: TreeHugger Change-Id: Ib712393e1371ed920552a4194b6aae0c0acd22d3
Diffstat (limited to 'RELEASES.md')
-rw-r--r--RELEASES.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/RELEASES.md b/RELEASES.md
index 94449d6..cd33c04 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -1,3 +1,31 @@
+# Release 0.2.15 (2022-05-02)
+
+- [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, @clarfonthey, @cuviper, @ElectronicRU,
+@ibraheemdev, @SparrowLii, @sshilovsky, @tspiteri, @XAMPPRocky, @Xiretza
+
+[195]: https://github.com/rust-num/num-traits/pull/195
+[196]: https://github.com/rust-num/num-traits/pull/196
+[201]: https://github.com/rust-num/num-traits/pull/201
+[202]: https://github.com/rust-num/num-traits/pull/202
+[205]: https://github.com/rust-num/num-traits/pull/205
+[207]: https://github.com/rust-num/num-traits/pull/207
+[210]: https://github.com/rust-num/num-traits/pull/210
+[214]: https://github.com/rust-num/num-traits/pull/214
+
# Release 0.2.14 (2020-10-29)
- Clarify the license specification as "MIT OR Apache-2.0".