Skip to content

Commit a6e2c07

Browse files
bors[bot]cuviper
andauthored
Merge #196
196: Release 0.3.2 r=cuviper a=cuviper Co-authored-by: Josh Stone <[email protected]>
2 parents 72810a5 + 4f480dd commit a6e2c07

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ categories = [ "algorithms", "data-structures", "science" ]
88
license = "MIT OR Apache-2.0"
99
name = "num-bigint"
1010
repository = "https://github.com/rust-num/num-bigint"
11-
version = "0.3.1"
11+
version = "0.3.2"
1212
readme = "README.md"
1313
build = "build.rs"
1414
exclude = ["/bors.toml", "/ci/*", "/.github/*"]

RELEASES.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
# Release 0.3.2 (2021-03-04)
2+
3+
- [The new `BigUint` methods `count_ones` and `trailing_ones`][175] return the
4+
number of `1` bits in the entire value or just its least-significant tail,
5+
respectively.
6+
- [The new `BigInt` and `BigUint` methods `bit` and `set_bit`][183] will read
7+
and write individual bits of the value. For negative `BigInt`, bits are
8+
determined as if they were in the two's complement representation.
9+
- [The `from_radix_le` and `from_radix_be` methods][187] now accept empty
10+
buffers to represent zero.
11+
- [`BigInt` and `BigUint` can now iterate digits as `u32` or `u64`][192],
12+
regardless of the actual internal digit size.
13+
14+
**Contributors**: @BartMassey, @cuviper, @janmarthedal, @sebastianv89, @Speedy37
15+
16+
[175]: https://github.com/rust-num/num-bigint/pull/175
17+
[183]: https://github.com/rust-num/num-bigint/pull/183
18+
[187]: https://github.com/rust-num/num-bigint/pull/187
19+
[192]: https://github.com/rust-num/num-bigint/pull/192
20+
121
# Release 0.3.1 (2020-11-03)
222

323
- [Addition and subtraction now uses intrinsics][141] for performance on `x86`

0 commit comments

Comments
 (0)