![]() |
Home | Libraries | People | FAQ | More |
boost::random::xoshiro512mm
// In header: <boost/random/xoshiro.hpp> class xoshiro512mm { public: // public member functions result_type next() noexcept; };
This is xoshiro512** 1.0, one of our all-purpose, rock-solid generators with increased state size. It has excellent (about 1ns) speed, a state (512 bits) that is large enough for any parallel application, and it passes all tests we are aware of.
For generating just floating-point numbers, xoshiro512+ is even faster.
The state must be seeded so that it is not everywhere zero. If you have a 64-bit seed, we suggest to seed a splitmix64 generator and use its output to fill s.