Skip to content

Commit

Permalink
count_primes_leq --> prime_pi
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard authored Nov 4, 2024
1 parent 210bda3 commit c63bdad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ assert_eq!(CHECK_42, Some(false));
assert_eq!(CHECK_541, Some(true));

// Prime counting
const PRIMES_LEQ_100: Option<usize> = CACHE.count_primes_leq(100);
const PRIMES_LEQ_100: Option<usize> = CACHE.prime_pi(100);
assert_eq!(PRIMES_LEQ_100, Some(25));

// Prime factorization:
Expand Down

0 comments on commit c63bdad

Please sign in to comment.