1 #include "../../include/nt/random.hpp"
10 6364136223846793005ULL,
11 1442695040888963407ULL);
15 std::cout <<
"Random value: " <<
res << std::endl;
17 static std::linear_congruential_engine<uint64_t,
18 6364136223846793005ULL,
19 1442695040888963407ULL,
20 std::numeric_limits<uint64_t>::max()>
24 uint64_t std_lcg_res =
static_cast<unsigned int>(engine());
26 std::cout <<
"Random value: " << std_lcg_res << std::endl;
Linear Congruential Generator.