Release 0.1.42
This commit is contained in:
parent
07a2d6adbe
commit
a7bd6a0f4b
@ -8,7 +8,7 @@ categories = [ "algorithms", "data-structures", "science" ]
|
||||
license = "MIT/Apache-2.0"
|
||||
name = "num-bigint"
|
||||
repository = "https://github.com/rust-num/num-bigint"
|
||||
version = "0.1.41"
|
||||
version = "0.1.42"
|
||||
readme = "README.md"
|
||||
|
||||
[[bench]]
|
||||
@ -24,10 +24,13 @@ name = "shootout-pidigits"
|
||||
[dependencies]
|
||||
|
||||
[dependencies.num-integer]
|
||||
version = "0.1.32"
|
||||
version = "0.1.36"
|
||||
default-features = false
|
||||
|
||||
[dependencies.num-traits]
|
||||
version = "0.1.32"
|
||||
version = "0.2.0"
|
||||
default-features = false
|
||||
features = ["std"]
|
||||
|
||||
[dependencies.rand]
|
||||
optional = true
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
[](https://crates.io/crates/num-bigint)
|
||||
[](https://docs.rs/num-bigint)
|
||||

|
||||
[](https://travis-ci.org/rust-num/num-bigint)
|
||||
|
||||
Big integer types for Rust, `BigInt` and `BigUint`.
|
||||
@ -21,6 +22,10 @@ and this to your crate root:
|
||||
extern crate num_bigint;
|
||||
```
|
||||
|
||||
## Releases
|
||||
|
||||
Release notes are available in [RELEASES.md](RELEASES.md).
|
||||
|
||||
## Compatibility
|
||||
|
||||
The `num-bigint` crate is tested for rustc 1.8 and greater.
|
||||
|
19
RELEASES.md
Normal file
19
RELEASES.md
Normal file
@ -0,0 +1,19 @@
|
||||
# Release 0.1.42
|
||||
|
||||
- [num-bigint now has its own source repository][num-356] at [rust-num/num-bigint][home].
|
||||
- [`lcm` now avoids creating a large intermediate product][num-350].
|
||||
- [`gcd` now uses Stein's algorithm][15] with faster shifts instead of division.
|
||||
|
||||
**Contributors**: @cuviper, @Emerentius, @mhogrefe
|
||||
|
||||
[home]: https://github.com/rust-num/num-bigint
|
||||
[num-350]: https://github.com/rust-num/num/pull/350
|
||||
[num-356]: https://github.com/rust-num/num/pull/356
|
||||
[15]: https://github.com/rust-num/num-bigint/pull/15
|
||||
|
||||
|
||||
# Prior releases
|
||||
|
||||
No prior release notes were kept. Thanks all the same to the many
|
||||
contributors that have made this crate what it is!
|
||||
|
@ -4,7 +4,7 @@ use std::str::{self, FromStr};
|
||||
use std::fmt;
|
||||
use std::cmp::Ordering::{self, Less, Greater, Equal};
|
||||
use std::{i64, u64};
|
||||
#[allow(unused)]
|
||||
#[allow(unused_imports)]
|
||||
use std::ascii::AsciiExt;
|
||||
|
||||
#[cfg(feature = "serde")]
|
||||
|
@ -11,7 +11,7 @@ use std::mem;
|
||||
use std::cmp::Ordering::{self, Less, Greater, Equal};
|
||||
use std::{f32, f64};
|
||||
use std::{u8, u64};
|
||||
#[allow(unused)]
|
||||
#[allow(unused_imports)]
|
||||
use std::ascii::AsciiExt;
|
||||
|
||||
#[cfg(feature = "serde")]
|
||||
|
@ -69,6 +69,10 @@
|
||||
//! # fn main() {
|
||||
//! # }
|
||||
//! ```
|
||||
//!
|
||||
//! ## Compatibility
|
||||
//!
|
||||
//! The `num-bigint` crate is tested for rustc 1.8 and greater.
|
||||
|
||||
#![doc(html_root_url = "https://docs.rs/num-bigint/0.1")]
|
||||
|
||||
|
@ -1569,7 +1569,7 @@ fn test_from_str_radix() {
|
||||
|
||||
#[test]
|
||||
fn test_all_str_radix() {
|
||||
#[allow(unused)]
|
||||
#[allow(unused_imports)]
|
||||
use std::ascii::AsciiExt;
|
||||
|
||||
let n = BigUint::new((0..10).collect());
|
||||
|
Loading…
x
Reference in New Issue
Block a user