Phasor 3.3.0
Stack VM based Programming Language
Loading...
Searching...
No Matches
random.cpp File Reference
#include "random.hpp"
Include dependency graph for random.cpp:

Go to the source code of this file.

Functions

void PHASORstd_rand_seed (uint64_t s0, uint64_t s1)
uint64_t PHASORstd_rand_next ()
double PHASORstd_rand_next_double ()
int64_t PHASORstd_rand_next_range (int64_t min, int64_t max)

Variables

static uint64_t s [2]

Function Documentation

◆ PHASORstd_rand_next()

uint64_t PHASORstd_rand_next ( )

Definition at line 14 of file random.cpp.

Here is the caller graph for this function:

◆ PHASORstd_rand_next_double()

double PHASORstd_rand_next_double ( )

Definition at line 26 of file random.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PHASORstd_rand_next_range()

int64_t PHASORstd_rand_next_range ( int64_t min,
int64_t max )

Definition at line 31 of file random.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PHASORstd_rand_seed()

void PHASORstd_rand_seed ( uint64_t s0,
uint64_t s1 )

Definition at line 8 of file random.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ s

uint64_t s[2]
static

Definition at line 6 of file random.cpp.