Skip to content

Commit b3252f7

Browse files
authored
Update CHANGELOG.md
1 parent ca6d3ae commit b3252f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ This file contains the changes to the crate since version 0.4.8.
55
This version focuses on adding support for generating primes and sieving numbers in arbitrary ranges, instead of always having to start from 0.
66

77
- Add `primes_geq`, `primes_lt`, `sieve_geq`, and `sieve_lt` functions to work with arbitrary ranges.
8-
- Add `primes_segment!` and `sieve_segment!` macros to simplify usage of the above functions. These macros compute the size of the second const generic that the above functions need. Due to restrictions on const arithmetic this can not be done inside the functions (unless I make the limit a const generic instead of a normal input).
8+
- Add `primes_segment!` and `sieve_segment!` macros to simplify usage of the above functions. These macros compute the size of the second const generic that the above functions need. Due to restrictions on const arithmetic this can not be done inside the functions (unless I convert their normal input into const generics instead).
99
- Add `isqrt` function. This can be useful if you wish to compute the size of the second const generic yourself.
1010
- Speed up `PRIMES::count_primes_leq` by using a binary instead of linear search.

0 commit comments

Comments
 (0)