Skip to content

Class XorShift

ClassList > XorShift

Fast deterministic PRNG - https://en.wikipedia.org/wiki/Xorshift .

  • #include <XorShift.hpp>

Public Functions

Type Name
XorShift (uint32_t seed=0xb45d9453)
uint32_t next ()

Public Functions Documentation

function XorShift

inline XorShift::XorShift (
    uint32_t seed=0xb45d9453
) 

function next

inline uint32_t XorShift::next () 

The documentation for this class was generated from the following file demo-projets/stm32/include/utils/XorShift.hpp