53: Release 0.2.2 r=cuviper a=cuviper
This commit is contained in:
bors[bot] 2018-03-18 23:32:18 +00:00
commit bb67a3d03a
2 changed files with 13 additions and 1 deletions

View File

@ -8,7 +8,7 @@ categories = [ "algorithms", "science" ]
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-num/num-traits"
name = "num-traits"
version = "0.2.1"
version = "0.2.2"
readme = "README.md"
[dependencies]

View File

@ -1,3 +1,15 @@
# Release 0.2.2
- [Casting from floating point to integers now returns `None` on overflow][52],
avoiding [rustc's undefined behavior][rust-10184]. This applies to the `cast`
function and the traits `NumCast`, `FromPrimitive`, and `ToPrimitive`.
**Contributors**: @apopiak, @cuviper, @dbarella
[52]: https://github.com/rust-num/num-traits/pull/52
[rust-10184]: https://github.com/rust-lang/rust/issues/10184
# Release 0.2.1
- [The new `FloatCore` trait][32] offers a subset of `Float` for `#![no_std]` use.