| Home | Libraries | People | FAQ | More

## Class xoshiro128mm

boost::random::xoshiro128mm

## Synopsis

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

    class xoshiro128mm {
    public:

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

## Description

This is xoshiro128** 1.1, one of our 32-bit all-purpose, rock-solid generators. It has excellent speed, a state size (128 bits) that is large enough for mild parallelism, and it passes all tests we are aware of.

Note that version 1.0 had mistakenly state_[0] instead of state_[1] as state word passed to the scrambler.

For generating just single-precision (i.e., 32-bit) floating-point numbers, xoshiro128+ is even faster.

The state must be seeded so that it is not everywhere zero.

### `xoshiro128mm` public member functions

1.     result_type next() noexcept;