| 1 | # Changelog |
| 2 | |
| 3 | ## 0.4.1 |
| 4 | |
| 5 | - Mark `AbsEq` as deprecated. |
| 6 | - Re-implement functions `next_up` and `next_down`, and expose them through the `utils` module. |
| 7 | |
| 8 | ## 0.4.0 |
| 9 | |
| 10 | ### Add |
| 11 | |
| 12 | - Add `is_positive()` and `is_negative()` to the `Signed` trait. |
| 13 | |
| 14 | ### Change |
| 15 | |
| 16 | - `SquareRoot` and `CubicRoot` are moved to `dashu_base::math`. |
| 17 | - `AbsCmp` is renamed to `AbsOrd`. |
| 18 | - `FBig::square` and `Context::square` are renamed to `sqr`. |
| 19 | |
| 20 | ## 0.3.1 |
| 21 | |
| 22 | - Add trait `Inverse`. |
| 23 | - Implement `AbsCmp` and `AbsEq` for primitive types. |
| 24 | |
| 25 | ## 0.3.0 |
| 26 | |
| 27 | ### Add |
| 28 | |
| 29 | - Add trait `AbsCmp` and `AbsEq` |
| 30 | - Add trait `FloatEncoding` and implement it for `f32` and `f64` |
| 31 | - Add trait `Signed` and implement it for all signed primitive types |
| 32 | - Add conversion between `Sign` and `bool` |
| 33 | - Implement `Abs` for `f32` and `f64` |
| 34 | - Add types `error::{ConversionError, ParseError}` (originates from `dashu-int`) |
| 35 | - Add trait `SquareRoot`, `SquareRootRem`, `CubicRoot`, `CubicRootRem` |
| 36 | - Implement `EstimatedLog2` for `f32`, `f64` and signed integers |
| 37 | |
| 38 | ### Change |
| 39 | |
| 40 | - `trailing_zeros` has been removed from the `BitTest` trait |
| 41 | - The definition of `BitTest::bit_len` has changed, and `BitTest` is now implemented for signed integers. |
| 42 | |
| 43 | ### Remove |
| 44 | |
| 45 | - `Root` and `RootRem` are removed (use `SquareRoot`, `SquareRootRem`, etc. instead) |
| 46 | |
| 47 | ## 0.2.1 |
| 48 | |
| 49 | - Implement `RootRem` for `u8`, `u16`, `u32` |
| 50 | - Add trait `Root` and implement it for `u8`, `u16`, `u32`, `u64`, `u128` |
| 51 | |
| 52 | ## 0.2.0 |
| 53 | |
| 54 | - Add traits `Approximation`, `Sign` and `EstimatedLog2`. |
| 55 | |
| 56 | ## 0.1.1 |
| 57 | |
| 58 | - Fix the bug of the GCD algorithm. |
| 59 | |
| 60 | ## 0.1.0 (Initial release) |
| 61 | |
| 62 | - including several common trait definitions. |