Skip to content
Permalink
Browse files

Update formula

  • Loading branch information...
kimwalisch committed Oct 4, 2019
1 parent 4743d70 commit 2b2c4a5c62f0cd9dfd9f56cca580ea47fa84dc2d
Showing with 3 additions and 3 deletions.
  1. +3 −3 include/primesieve/config.hpp
@@ -64,9 +64,9 @@ enum {
///
/// @pre FACTOR_ERATMEDIUM >= 0 && <= 9
/// FACTOR_ERATMEDIUM * max(sieveSize) / 30 * 6 + 6 <= max(multipleIndex)
/// FACTOR_ERATMEDIUM * 2^22 / 30 * 6 + 6 < 2^23
/// FACTOR_ERATMEDIUM <= ((2^23 - 6) * 30) / (2^22 * 6)
/// FACTOR_ERATMEDIUM <= 9.999992847
/// FACTOR_ERATMEDIUM * 2^22 / 30 * 6 + 6 <= 2^23 - 1
/// FACTOR_ERATMEDIUM <= ((2^23 - 7) * 30) / (2^22 * 6)
/// FACTOR_ERATMEDIUM <= 9.999991655
///
const double FACTOR_ERATMEDIUM = 5.0;

0 comments on commit 2b2c4a5

Please sign in to comment.
You can’t perform that action at this time.