Galactic Bloodshed
Functions
rand.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool success (int x)
 
double double_rand ()
 
int int_rand (int, int)
 
long long_rand (long, long)
 
int round_rand (double)
 

Function Documentation

◆ double_rand()

double double_rand ( )

Definition at line 12 of file rand.cc.

Referenced by round_rand().

Here is the caller graph for this function:

◆ int_rand()

int int_rand ( int  ,
int   
)

Definition at line 22 of file rand.cc.

Referenced by success().

Here is the caller graph for this function:

◆ long_rand()

long long_rand ( long  ,
long   
)

Definition at line 16 of file rand.cc.

◆ round_rand()

int round_rand ( double  )

Definition at line 29 of file rand.cc.

References double_rand().

Here is the call graph for this function:

◆ success()

bool success ( int  x)

Definition at line 33 of file rand.cc.

References int_rand().

Here is the call graph for this function: