Initial package (rhbz#2260598)

Signed-off-by: Michel Lind <salimma@fedoraproject.org>
This commit is contained in:
Michel Lind 2024-05-31 16:56:57 -05:00
commit cc91c146d3
No known key found for this signature in database
GPG key ID: 8B229D2F7CCC04F2
9 changed files with 418 additions and 0 deletions

13
coreutils-drop-conv.diff Normal file
View 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()