Debian Codegraph @

third_party/rust/num-integer/RELEASES.md

raw
1 # Release 0.1.45 (2022-04-29)
2
3 - [`Integer::next_multiple_of` and `prev_multiple_of` no longer overflow -1][45].
4 - [`Integer::is_multiple_of` now handles a 0 argument without panicking][47]
5 for primitive integers.
6 - [`ExtendedGcd` no longer has any private fields][46], making it possible for
7 external implementations to customize `Integer::extended_gcd`.
8
9 **Contributors**: @ciphergoth, @cuviper, @tspiteri, @WizardOfMenlo
10
11 [45]: https://github.com/rust-num/num-integer/pull/45
12 [46]: https://github.com/rust-num/num-integer/pull/46
13 [47]: https://github.com/rust-num/num-integer/pull/47
14
15 # Release 0.1.44 (2020-10-29)
16
17 - [The "i128" feature now bypasses compiler probing][35]. The build script
18 used to probe anyway and panic if requested support wasn't found, but
19 sometimes this ran into bad corner cases with `autocfg`.
20
21 **Contributors**: @cuviper
22
23 [35]: https://github.com/rust-num/num-integer/pull/35
24
25 # Release 0.1.43 (2020-06-11)
26
27 - [The new `Average` trait][31] computes fast integer averages, rounded up or
28 down, without any risk of overflow.
29
30 **Contributors**: @althonos, @cuviper
31
32 [31]: https://github.com/rust-num/num-integer/pull/31
33
34 # Release 0.1.42 (2020-01-09)
35
36 - [Updated the `autocfg` build dependency to 1.0][29].
37
38 **Contributors**: @cuviper, @dingelish
39
40 [29]: https://github.com/rust-num/num-integer/pull/29
41
42 # Release 0.1.41 (2019-05-21)
43
44 - [Fixed feature detection on `no_std` targets][25].
45
46 **Contributors**: @cuviper
47
48 [25]: https://github.com/rust-num/num-integer/pull/25
49
50 # Release 0.1.40 (2019-05-20)
51
52 - [Optimized primitive `gcd` by avoiding memory swaps][11].
53 - [Fixed `lcm(0, 0)` to return `0`, rather than panicking][18].
54 - [Added `Integer::div_ceil`, `next_multiple_of`, and `prev_multiple_of`][16].
55 - [Added `Integer::gcd_lcm`, `extended_gcd`, and `extended_gcd_lcm`][19].
56
57 **Contributors**: @cuviper, @ignatenkobrain, @smarnach, @strake
58
59 [11]: https://github.com/rust-num/num-integer/pull/11
60 [16]: https://github.com/rust-num/num-integer/pull/16
61 [18]: https://github.com/rust-num/num-integer/pull/18
62 [19]: https://github.com/rust-num/num-integer/pull/19
63
64 # Release 0.1.39 (2018-06-20)
65
66 - [The new `Roots` trait provides `sqrt`, `cbrt`, and `nth_root` methods][9],
67 calculating an `Integer`'s principal roots rounded toward zero.
68
69 **Contributors**: @cuviper
70
71 [9]: https://github.com/rust-num/num-integer/pull/9
72
73 # Release 0.1.38 (2018-05-11)
74
75 - [Support for 128-bit integers is now automatically detected and enabled.][8]
76 Setting the `i128` crate feature now causes the build script to panic if such
77 support is not detected.
78
79 **Contributors**: @cuviper
80
81 [8]: https://github.com/rust-num/num-integer/pull/8
82
83 # Release 0.1.37 (2018-05-10)
84
85 - [`Integer` is now implemented for `i128` and `u128`][7] starting with Rust
86 1.26, enabled by the new `i128` crate feature.
87
88 **Contributors**: @cuviper
89
90 [7]: https://github.com/rust-num/num-integer/pull/7
91
92 # Release 0.1.36 (2018-02-06)
93
94 - [num-integer now has its own source repository][num-356] at [rust-num/num-integer][home].
95 - [Corrected the argument order documented in `Integer::is_multiple_of`][1]
96 - [There is now a `std` feature][5], enabled by default, along with the implication
97 that building *without* this feature makes this a `#[no_std]` crate.
98 - There is no difference in the API at this time.
99
100 **Contributors**: @cuviper, @jaystrictor
101
102 [home]: https://github.com/rust-num/num-integer
103 [num-356]: https://github.com/rust-num/num/pull/356
104 [1]: https://github.com/rust-num/num-integer/pull/1
105 [5]: https://github.com/rust-num/num-integer/pull/5
106
107
108 # Prior releases
109
110 No prior release notes were kept. Thanks all the same to the many
111 contributors that have made this crate what it is!
112