Skip to content

Commit 68c3c27

Browse files
authored
Update CHANGELOG.md
1 parent 8e0c4d5 commit 68c3c27

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,21 @@ 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
## Breaking changes
8+
89
- Change the name of `are_prime` to `sieve`.
910
- Change the name of `are_prime_below` to `sieve_lt`.
1011
- Change function signature of `sieve_lt`.
1112
- Change the name of `largest_prime_leq` to `previous_prime`.
1213
- Change the name of `smallest_prime_lt` to `next_prime`.
1314
- Remove `moebius`.
1415

15-
## Other changes
16+
## Other major changes
1617

1718
- Add `primes_geq`, `primes_lt`, and `sieve_geq` functions to work with arbitrary ranges.
1819
- 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).
1920
- Add `isqrt` function. This can be useful if you wish to compute the size of the second const generic yourself.
2021
- Speed up `PRIMES::count_primes_leq` by using a binary instead of linear search.
22+
23+
## Minor changes
24+
25+
- Various documentation improvements.

0 commit comments

Comments
 (0)