# | Line 32 | Line 32 | extern double drand48(); | |
---|---|---|
32 | #endif | |
33 | #endif | |
34 | ||
35 | + | #ifdef MC |
36 | + | #define urand(i) frandom() |
37 | + | #else |
38 | #define urand(i) ((urperm[(i)&urmask]+frandom())/(urmask+1)) | |
39 | + | #endif |
40 | ||
41 | extern short *urperm; | |
42 | extern int urmask; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |