bmath file
This commit is contained in:
parent
771751d9c0
commit
8f191a7e3f
3 changed files with 9 additions and 2 deletions
|
|
@ -2,5 +2,6 @@
|
|||
#define BMATH_BMATH_HH
|
||||
|
||||
#include "bmath/mint.hh"
|
||||
#include "bmath/sieve.hh"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
#ifndef BMATH_MINT_HH
|
||||
#define BMATH_MINT_HH
|
||||
|
||||
namespace bmath {
|
||||
|
||||
#include <format>
|
||||
#include <iterator>
|
||||
#include <ostream>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
|
||||
namespace bmath {
|
||||
|
||||
inline constexpr uint64_t DEFAULT_MOD = 1'000'000'007;
|
||||
|
||||
template <std::integral T, T M = static_cast<T>(DEFAULT_MOD)>
|
||||
|
|
|
|||
6
include/bmath/sieve.hh
Normal file
6
include/bmath/sieve.hh
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#ifndef BMATH_SIEVE_HH
|
||||
#define BMATH_SIEVE_HH
|
||||
|
||||
namespace bmath {};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue