Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

Class xoshiro512pp

boost::random::xoshiro512pp

Synopsis

// In header: <boost/random/xoshiro.hpp>


class xoshiro512pp {
public:

  // public member functions
  result_type next() noexcept;
};

Description

This is xoshiro512++ 1.0, one of our all-purpose, rock-solid generators. 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.

xoshiro512pp public member functions

  1. result_type next() noexcept;

PrevUpHomeNext