# Changelog ## 1.6.0 * The `convert_into()` and `try_convert_into()` methods are added to convert the underlying type of an infinitable value. * Example code is updated to reflect the Rust 2021 edition. * Missing version information for functionality added in 1.5.0 is added. ## 1.5.0 * Arithmetic operators are now supported. (Refer to the documentation for each operator for how infinite values are handled.) * This adds a dependency on [num-traits](https://crates.io/crates/num-traits). * The `from_f32` and `from_f64` functions are added to convert more intuitively from floating-point values. ## 1.4.0 * This library now references `core` instead of `std` so it can be used without the full standard library. * Additional documentation is added. ## 1.3.0 * The variants of `Infinitable` are now re-exported, so you can type `Finite(x)` instead of `Infinitable::Finite(x)`. * The `finite_or_infinity()` and `finite_or_negative_infinity()` methods are added to convert from an optional finite value to an infinitable. (Note: This item is missing from the changelog included in the release.) * The `Infinitable` type now implements the `Hash` trait. ## 1.2.0 * Negation operator is now supported. * The `Infinitable` type now implements the `From` trait, as well as the `Display`, `Copy`, and `Clone` traits as appropriate (that is, when the underlying type implements them). ## 1.1.0 * The `finite()` method is added to extract an optional finite value. * The `Infinitable` type now implements the `Debug` trait. * The public API is fully documented. ## 1.0.1 * The URL in the license is fixed (previously it pointed to the original C++ implementation of the library). ## 1.0.0 * Initial version supports equality and comparison operators.