36#ifndef quantlib_xoshiro256starstar_uniform_rng_hpp
37#define quantlib_xoshiro256starstar_uniform_rng_hpp
77 const auto result =
rotl(
s1_ * 5, 7) * 9;
79 const auto t =
s1_ << 17;
94 static std::uint64_t
rotl(std::uint64_t x, std::int32_t k) {
return (x << k) | (x >> (64 - k)); }