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