Random.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 MiscLib
 

Macros

#define MiscLib_RN_BUFSIZE   500
 
#define MiscLib_RN_CONST   6180339887L
 
#define MiscLib_RN_RAND_MOD   (1L << 30)
 

Functions

float rn_frand ()
 
size_t rn_rand ()
 
size_t rn_refresh (void)
 
void rn_setseed (size_t)
 
size_t rn_urand (size_t m)
 

Variables

size_t rn_buf []
 
size_t rn_point = MiscLib_RN_BUFSIZE
 

Macro Definition Documentation

◆ MiscLib_RN_BUFSIZE

#define MiscLib_RN_BUFSIZE   500

Definition at line 10 of file Random.h.

◆ MiscLib_RN_CONST

#define MiscLib_RN_CONST   6180339887L

Definition at line 12 of file Random.h.

◆ MiscLib_RN_RAND_MOD

#define MiscLib_RN_RAND_MOD   (1L << 30)

Definition at line 11 of file Random.h.