Changeset 53634f9 in mainline for kernel/generic/include/macros.h
- Timestamp:
- 2009-01-31T13:24:32Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1e241723
- Parents:
- 896ad9f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/macros.h
r896ad9f r53634f9 77 77 #define STRING_ARG(arg) #arg 78 78 79 /** Pseudorandom generator 80 * 81 * A pretty standard linear congruential pseudorandom 82 * number generator (m = 2^32 or 2^64 depending on architecture). 83 * 84 */ 85 #define RANDI(seed) \ 86 ({ \ 87 (seed) = 1103515245 * (seed) + 12345; \ 88 (seed); \ 89 }) 90 79 91 #endif 80 92
Note:
See TracChangeset
for help on using the changeset viewer.