Skip to content

Commit

Permalink
More correct!
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard committed May 10, 2024
1 parent 0ca0625 commit 609a8c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sieve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub(crate) const fn sieve_segment<const N: usize>(
segment_sieve
}

/// Returns an array of size `N` that indicates which of the `N` integers smaller than `upper_limit` are prime.
/// Returns an array of size `N` that indicates which of the `N` largest integers smaller than `upper_limit` are prime.
///
/// Uses a sieve of size `MEM` during evaluation, but stores only the requested values in the output array.
/// `MEM` must be large enough for the sieve to be able to determine the prime status of all numbers in the requested range,
Expand Down

0 comments on commit 609a8c7

Please sign in to comment.