primecount-7.11
This is a new maintenance release, the C/C++ API and ABI are fully backwards compatible with the previous release.
CMakeLists.txt
: Detect Apple Silicon CPUs at build time (on Apples OSes only) and disable libdivide since Apple Silicon CPUs have very fast integer division instructions that are usually faster than libdivide. This speeds up the computation of the easy special leaves algorithms (--S2-easy
&--AC
) by up to 10%.- Faster
RiemannR(x)
andRiemannR_inverse(x)
implementations: kimwalisch/primesieve#144. test/iroot.cpp
: Fix musl libc issue: kimwalisch/primesieve#147.test/Li.cpp
: Speed up test.CmdOptions.cpp
: Detect incompatible options.PiTable.cpp
: Increase cache size to 2 KiB.- Renamed command-line option
--Ri
to-R
or--RiemannR
. - Renamed command-line option
--Ri-inverse
to--RiemannR-inverse
. - Improve status output on Windows.
- Update to latest primesieve-12.1 library.