Releases: reem/rust-ordered-float
Releases · reem/rust-ordered-float
v2.4.0
- Implement
AddAssign
, MulAssign
, etc. for OrderedFloat<T>
.
- Implement
From<OrderedFloat<Self>>
for f32
and f64
.
- Add inline attributes to more methods.
- Minor code cleanup.
v2.3.0
- Implement traits from
std::ops
for reference types (#82).
- Add more high-level documentation and examples.
v2.2.0
- Add optional
schemars
feature (#78).
- Re-export the
Float
trait (#79).
v2.1.1
- Fix a compiler error when building without the
std
feature (#74).
v2.1.0
- Implement more numeric traits for
OrderedFloat<T>
(#73).
- Implement
From<&T>
for &OrderedFloat<T>
(#72).
v2.0.1
- Make assignment operators panic safe (#71). This fixes a bug that could cause undefined behavior in safe code.
v1.1.1
- Make assignment operators panic safe (#71). This fixes a bug that could cause undefined behavior in safe code.
v2.0.0
- The minimum supported Rust toolchain version has increased from 1.28 to 1.34.
NotNan<T>
now implements TryFrom<T>
instead of From<T>
.
NotNan::unchecked_new
is now a const fn
.
NotNan<T>
and OrderedFloat<T>
now implement PartialEq<T>
.
- The deprecated
NotNaN
type alias has been removed.
v1.1.0
- Implement Sum and Product traits for NotNan (#65).
- Implement Neg and Zero traits for OrderedFloat (#60, #66).
- Implement Add, Sub, Mul, and Div traits for OrderedFloat.
v1.0.2
- Implement
FromStr
(#53)
- Internal refactoring (#55)
- Fix for
no_std
builds (#59)