source:
Sophya/trunk/SophyaLib/SysSpec/rand48.h@
2089
| Last change on this file since 2089 was 1781, checked in by , 24 years ago | |
|---|---|
| File size: 391 bytes | |
| Rev | Line | |
|---|---|---|
| [1781] | 1 | #ifndef RAND48_H |
| 2 | #define RAND48_H | |
| 3 | ||
| 4 | struct drand48_data { | |
| 5 | unsigned short X[3]; /* 48 bit integer value */ | |
| 6 | unsigned short a[3]; /* mutiplier value */ | |
| 7 | unsigned short c; /* addend value */ | |
| 8 | unsigned short old_X[3]; /* previous value of Xi */ | |
| 9 | int init; /* initialize ? */ | |
| 10 | }; | |
| 11 | ||
| 12 | typedef unsigned long long u_int64_t; | |
| 13 | ||
| 14 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/PI/chrome/site/your_project_logo.png)