Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard authored May 7, 2024
1 parent 667c3fa commit 6f6fdbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ to store in the binary and the size of the sieve used during evaluation. The sie
of the square root of the largest encountered value:
```rust
// ceil(sqrt(5_000_000_063)) = 70_711
const PRIMES_GEQ: const_primes::Result<3> = primes_geq::<3, 70_711>(5_000_000_031);
assert_eq!(PRIMES_GEQ?, [5_000_000_039, 5_000_000_059, 5_000_000_063]);
const PRIMES_GEQ: Result<[u64; 3], const_primes::Error> = primes_geq::<3, 70_711>(5_000_000_031);
assert_eq!(PRIMES_GEQ, Ok([5_000_000_039, 5_000_000_059, 5_000_000_063]));
```
```rust
const N: usize = 70711;
Expand Down

0 comments on commit 6f6fdbc

Please sign in to comment.