File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Change Log
2
2
3
+ ## [ 0.13.0] - 2023-01-01
4
+
5
+ ### Changed
6
+ - ` PartialCmp ` now compares ` NaN ` with the other values and returns it as the smallest possible value. Thus, ` NaN < -Inf ` .
7
+
8
+ ### Fixed
9
+ - ` partial_cmp ` now behaves exactly the same as ` cmp ` (PartialOrd is now consistent with Ord).
10
+ This fixes an issue introduced in ` 0.12.2 ` with the implementation of ` Ord ` ,
11
+ where ` Ord ` would behave differently from ` PartialOrd ` with ` NaN ` values.
12
+ Special thanks to Hsingai Tigris Altaica aka DrAlta for fixing this.
13
+
3
14
## [ 0.12.2] - 2022-12-04
4
15
5
16
### Added
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " fraction"
3
- version = " 0.12.2 "
3
+ version = " 0.13.0 "
4
4
authors = [" dnsl48 <dnsl48@gmail.com>" ]
5
5
6
6
description = " Lossless fractions and decimals; drop-in float replacement"
You can’t perform that action at this time.
0 commit comments