Phasor 3.3.0
Stack VM based Programming Language
Loading...
Searching...
No Matches
random.hpp
Go to the documentation of this file.
1#pragma once
2
3// my tiny xorshift+ implementation
4// (C) Daniel McGuire -- MIT License
5
6#include <phsint.hpp>
7
8extern "C" void PHASORstd_rand_seed(Phasor::u64 s0, Phasor::u64 s1);
int64_t i64
Definition phsint.hpp:16
double f64
Definition phsint.hpp:7
uint64_t u64
Definition phsint.hpp:12
Phasor::u64 PHASORstd_rand_next()
Definition random.cpp:15
Phasor::f64 PHASORstd_rand_next_double()
Definition random.cpp:27
void PHASORstd_rand_seed(Phasor::u64 s0, Phasor::u64 s1)
Definition random.cpp:9
Phasor::i64 PHASORstd_rand_next_range(Phasor::i64 min, Phasor::i64 max)
Definition random.cpp:32