Project Alice
Loading...
Searching...
No Matches
prng.cpp File Reference
#include "prng.hpp"
#include "system_state.hpp"
#include "random123/philox.h"
Include dependency graph for prng.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  rng
 

Functions

uint64_t rng::get_random (sys::state const &state, uint32_t value_in)
 
uint64_t rng::get_random (sys::state const &state, uint32_t value_in_hi, uint32_t value_in_lo)
 
random_pair rng::get_random_pair (sys::state const &state, uint32_t value_in)
 
random_pair rng::get_random_pair (sys::state const &state, uint32_t value_in_hi, uint32_t value_in_lo)
 
uint32_t rng::reduce (uint32_t value_in, uint32_t upper_bound)