Changeset 62:4790635473ef in lemon-1.0 for lemon/random.h
- Timestamp:
- 01/25/08 15:23:28 (17 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/random.h
r49 r62 255 255 --curr; 256 256 } 257 curr[0] = (((curr[0] & hiMask) | (curr[length - 1] & loMask)) >> 1) ^257 state[0] = (((state[0] & hiMask) | (curr[length - 1] & loMask)) >> 1) ^ 258 258 curr[length - shift] ^ mask[curr[length - 1] & 1ul]; 259 259
Note: See TracChangeset
for help on using the changeset viewer.