Logo ROOT   6.08/07
Reference Guide
Macros
TRandom2.cxx File Reference
#include "TRandom2.h"
#include "TRandom3.h"
#include "TUUID.h"
Include dependency graph for TRandom2.cxx:

Macros

#define LCG(n)   ((69069 * n) & 0xffffffffUL)
 
#define TAUSWORTHE(s, a, b, c, d)   (((s &c) <<d) & 0xffffffffUL ) ^ ((((s <<a) & 0xffffffffUL )^s) >>b)
 

Macro Definition Documentation

◆ LCG

#define LCG (   n)    ((69069 * n) & 0xffffffffUL)

◆ TAUSWORTHE

#define TAUSWORTHE (   s,
  a,
  b,
  c,
 
)    (((s &c) <<d) & 0xffffffffUL ) ^ ((((s <<a) & 0xffffffffUL )^s) >>b)