SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
rng::xoshiro256plus_t Struct Reference

xoshiro256+ Random Number Generator More...

#include <rng.hpp>

Public Member Functions

uint64_t next () noexcept
 xoshiro256+ Random Number Generator More...
 
void seed (uint64_t start) noexcept
 
const char * name () const noexcept
 

Detailed Description

xoshiro256+ Random Number Generator

If, however, one has to generate only 64-bit floating-point numbers (by extracting the upper 53 bits) xoshiro256+ is a slightly (≈15%) faster [compared to xoshiro256** or xoshiro256++] generator with analogous statistical properties.

All credit goes to David Blackman and Sebastiano Vigna (vigna.nosp@m.@acm.nosp@m..org) @2018 http://prng.di.unimi.it/

Member Function Documentation

◆ next()

uint64_t rng::xoshiro256plus_t::next ( )
noexcept

xoshiro256+ Random Number Generator

If, however, one has to generate only 64-bit floating-point numbers (by extracting the upper 53 bits) xoshiro256+ is a slightly (≈15%) faster [compared to xoshiro256** or xoshiro256++] generator with analogous statistical properties.

All credit goes to David Blackman and Sebastiano Vigna (vigna.nosp@m.@acm.nosp@m..org) @2018 http://prng.di.unimi.it/