Random.cpp File Reference
#include <stdio.h>
#include "Random.h"
+ Include dependency graph for Random.cpp:

Go to the source code of this file.

Macros

#define evenize(x)   ( (x) & (MM-2) )
 
#define is_odd(x)   ( (x) & 1 )
 
#define KK   100
 
#define LL   37
 
#define MM   MiscLib_RN_RAND_MOD
 
#define mod_diff(x, y)   ( (x) - (y) & (MM-1) )
 
#define TT   70
 

Macro Definition Documentation

◆ evenize

#define evenize (   x)    ( (x) & (MM-2) )

Definition at line 20 of file Random.cpp.

◆ is_odd

#define is_odd (   x)    ( (x) & 1 )

Definition at line 19 of file Random.cpp.

◆ KK

#define KK   100

Definition at line 13 of file Random.cpp.

◆ LL

#define LL   37

Definition at line 14 of file Random.cpp.

◆ MM

#define MM   MiscLib_RN_RAND_MOD

Definition at line 15 of file Random.cpp.

◆ mod_diff

#define mod_diff (   x,
 
)    ( (x) - (y) & (MM-1) )

Definition at line 18 of file Random.cpp.

◆ TT

#define TT   70

Definition at line 16 of file Random.cpp.