Skip to content

primecount-7.8

Compare
Choose a tag to compare
@kimwalisch kimwalisch released this 28 Mar 09:19
· 453 commits to master since this release

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 in pi(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.