Skip to content

Commit 1597c1c

Browse files
bors[bot]cuviper
andauthored
Merge #236
236: Release 0.2.15 r=cuviper a=cuviper Co-authored-by: Josh Stone <cuviper@gmail.com>
2 parents edb4821 + 4a2e648 commit 1597c1c

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ categories = ["algorithms", "science", "no-std"]
88
license = "MIT OR Apache-2.0"
99
repository = "https://github.com/rust-num/num-traits"
1010
name = "num-traits"
11-
version = "0.2.14"
11+
version = "0.2.15"
1212
readme = "README.md"
1313
build = "build.rs"
1414
exclude = ["/bors.toml", "/ci/*", "/.github/*"]

RELEASES.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
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+
129
# Release 0.2.14 (2020-10-29)
230

331
- Clarify the license specification as "MIT OR Apache-2.0".

0 commit comments

Comments
 (0)