primecount-7.8
I fixed the pi(-n) crash for 64-bit integers two days ago. Unfortunately I forgot to fix the same issue for 128-bit integers. Hence this release fixes the same issue for 128-bit integers.
api.cpp
: Add missing check for negative numbers inpi(int128_t x)
,pi_deleglise_rivat(int128_t x)
,pi_gourdon(int128_t x)
.test/api.cpp
: Add more pi(-n) tests.test/api_c.cpp
: Add more primecount_pi(-n) tests.test/pi_cache.cpp
: Add new test.test/pi_deleglise_rivat.cpp
: Add new test.test/pi_gourdon.cpp
: Add new test.test/pi_legendre.cpp
: Add new test.test/pi_lmo5.cpp
: Add new test.test/pi_lmo_parallel.cpp
: Add new test.test/pi_meissel.cpp
: Add new test.CMakeLists.txt
: Disable building libprimesieve examples.