Humble Framework for SkyOS


Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

HRandom.h File Reference


Detailed Description

The HRandom header file implements a random number generator. Portions of this code are Copyright (C) 1997 Makoto Matsumoto and Takuji Nishimura.

When you use this, send an e-mail to <matumoto@math.keio.ac.jp> with an appropriate reference to your work. This version is a recode by Shawn Cokus (Cokus@math.washington.edu) on March 8, 1998 of a version by Takuji Nishimura (who had suggestions from Topher Cooper and Marc Rieffel in July-August 1997).

Definition in file HRandom.h.

Go to the source code of this file.

Defines

#define hiBit(u)   ((u) & 0x80000000U)
#define loBit(u)   ((u) & 0x00000001U)
#define loBits(u)   ((u) & 0x7FFFFFFFU)
#define mixBits(u, v)   (hiBit(u) | loBits(v))