Skip to content

Commit 37e7658

Browse files
committed
Release 0.2.13
1 parent f0a980b commit 37e7658

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-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/Apache-2.0"
99
repository = "https://github.com/rust-num/num-traits"
1010
name = "num-traits"
11-
version = "0.2.12"
11+
version = "0.2.13"
1212
readme = "README.md"
1313
build = "build.rs"
1414
exclude = ["/bors.toml", "/ci/*", "/.github/*"]

RELEASES.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# Release 0.2.13 (2020-10-29)
2+
3+
- [The new `OverflowingAdd`, `OverflowingSub`, and `OverflowingMul` traits][180]
4+
return a tuple with the operation result and a `bool` indicating overflow.
5+
- [The "i128" feature now overrides compiler probes for that support][185].
6+
This may fix scenarios where `autocfg` probing doesn't work properly.
7+
- [Casts from large `f64` values to `f32` now saturate to infinity][186]. They
8+
previously returned `None` because that was once thought to be undefined
9+
behavior, but [rust#15536] resolved that such casts are fine.
10+
11+
**Contributors**: @cuviper, @Enet4, @KaczuH, @martin-t, @newpavlov
12+
13+
[180]: https://github.com/rust-num/num-traits/pull/180
14+
[185]: https://github.com/rust-num/num-traits/pull/185
15+
[186]: https://github.com/rust-num/num-traits/pull/186
16+
[rust#15536]: https://github.com/rust-lang/rust/issues/15536
17+
118
# Release 0.2.12 (2020-06-11)
219

320
- [The new `WrappingNeg` trait][153] will wrap the result if it exceeds the

0 commit comments

Comments
 (0)