Commit Graph

8 Commits

Author SHA1 Message Date
d3615307d6
[release] hcn v1.0.0 2024-09-12 20:25:22 +02:00
c31d2fda26
[clippy] stricter lints 2024-09-12 20:14:55 +02:00
1a7e57404e
[code] small improvements
* readability: changing variable names/adding variables for clarity
* initialize primes Vec with reasonable space to reduce allocations
* return type of find_next_prime more idiomatic (Option)
* avoid overflow by using checked_mul
2024-02-09 22:38:11 +01:00
2005b7d5ca
[clippy] u64 -> f64 conversion is precision loss 2023-12-09 18:26:59 +01:00
24cf088011
[feature] single thread code to calculate hcns using prime factorization 2023-12-07 18:38:36 +01:00
2f6449a25a
[fix] prime sieve was missing the number 2 2023-12-07 18:37:42 +01:00
4c56ab2779
[feature] get primes fast with sieve of Eratosthenes 2023-12-02 09:20:20 +01:00
3434c9d4f6
hcn: highly composite number
A tool to find highly composite numbers fast.
2023-12-02 09:19:34 +01:00