ROOT  6.06/08
Reference Guide
Macros
TRandom2.cxx File Reference
#include "TRandom2.h"
#include "TRandom3.h"
#include "TUUID.h"
+ Include dependency graph for TRandom2.cxx:

Go to the source code of this file.

Macros

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

Macro Definition Documentation

§ LCG

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

Referenced by TRandom2::SetSeed().

§ TAUSWORTHE

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