Initial package (rhbz#2260598)
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
This commit is contained in:
parent
c1889b3207
commit
cc91c146d3
9 changed files with 418 additions and 0 deletions
13
coreutils-drop-conv.diff
Normal file
13
coreutils-drop-conv.diff
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
--- a/tests/by-util/test_factor.rs
|
||||
+++ b/tests/by-util/test_factor.rs
|
||||
@@ -146,9 +146,7 @@ fn test_cli_args() {
|
||||
|
||||
#[test]
|
||||
fn test_random() {
|
||||
- use conv::prelude::ValueFrom;
|
||||
-
|
||||
- let log_num_primes = f64::value_from(NUM_PRIMES).unwrap().log2().ceil();
|
||||
+ let log_num_primes = (NUM_PRIMES as f64).log2().ceil();
|
||||
let primes = Sieve::primes().take(NUM_PRIMES).collect::<Vec<u64>>();
|
||||
|
||||
let rng_seed = SystemTime::now()
|
||||
Loading…
Add table
Add a link
Reference in a new issue