-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5619789
commit 9d4af7b
Showing
9 changed files
with
750 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/// | ||
/// @file nthPrimeApprox.hpp | ||
/// | ||
/// Copyright (C) 2024 Kim Walisch, <kim.walisch@gmail.com> | ||
/// | ||
/// This file is distributed under the BSD License. See the COPYING | ||
/// file in the top level directory. | ||
/// | ||
|
||
#include <primesieve/Vector.hpp> | ||
#include <stdint.h> | ||
|
||
namespace primesieve { | ||
|
||
Vector<int32_t> generate_moebius(int64_t max); | ||
uint64_t Li(uint64_t x); | ||
uint64_t Li_inverse(uint64_t x); | ||
uint64_t Ri(uint64_t x); | ||
uint64_t Ri_inverse(uint64_t x); | ||
uint64_t primesApprox(uint64_t x); | ||
uint64_t nthPrimeApprox(uint64_t n); | ||
|
||
} // namespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.