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

Go to the source code of this file.

Functions

void PHASORstd_rand_seed (Phasor::u64 s0, Phasor::u64 s1)
Phasor::u64 PHASORstd_rand_next ()
Phasor::f64 PHASORstd_rand_next_double ()
Phasor::i64 PHASORstd_rand_next_range (Phasor::i64 min, Phasor::i64 max)

Variables

static Phasor::u64 s [2]

Function Documentation

◆ PHASORstd_rand_next()

Phasor::u64 PHASORstd_rand_next ( )

Definition at line 15 of file random.cpp.

Here is the caller graph for this function:

◆ PHASORstd_rand_next_double()

Phasor::f64 PHASORstd_rand_next_double ( )

Definition at line 27 of file random.cpp.

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

◆ PHASORstd_rand_next_range()

Phasor::i64 PHASORstd_rand_next_range ( Phasor::i64 min,
Phasor::i64 max )

Definition at line 32 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 ( Phasor::u64 s0,
Phasor::u64 s1 )

Definition at line 9 of file random.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ s

Phasor::u64 s[2]
static

Definition at line 7 of file random.cpp.