We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 041de2b commit f14a34fCopy full SHA for f14a34f
src/lnfact.hpp
@@ -15,6 +15,9 @@
15
* <http://www.gnu.org/licenses/>.
16
*/
17
18
+#ifndef SRC_LNFACT_HPP_
19
+#define SRC_LNFACT_HPP_
20
+
21
#include <array>
22
#include <cmath>
23
#include <cstdint>
@@ -202,3 +205,5 @@ lnfact(const std::uint64_t n) -> double {
202
205
return lnfact_table[n];
203
206
return std::lgamma(n + 1.0);
204
207
}
208
209
+#endif // SRC_LNFACT_HPP_
0 commit comments