Skip to content

Commit

Permalink
Release 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dnsl48 committed Jan 1, 2023
1 parent dfa9930 commit 76af3db
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log

## [0.13.0] - 2023-01-01

### Changed
- `PartialCmp` now compares `NaN` with the other values and returns it as the smallest possible value. Thus, `NaN < -Inf`.

### Fixed
- `partial_cmp` now behaves exactly the same as `cmp` (PartialOrd is now consistent with Ord).
This fixes an issue introduced in `0.12.2` with the implementation of `Ord`,
where `Ord` would behave differently from `PartialOrd` with `NaN` values.
Special thanks to Hsingai Tigris Altaica aka DrAlta for fixing this.

## [0.12.2] - 2022-12-04

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fraction"
version = "0.12.2"
version = "0.13.0"
authors = ["dnsl48 <dnsl48@gmail.com>"]

description = "Lossless fractions and decimals; drop-in float replacement"
Expand Down

0 comments on commit 76af3db

Please sign in to comment.