Changes in libcfa/src/stdlib.cfa [5d1ebb9:12b5e94a]
- File:
-
- 1 edited
-
libcfa/src/stdlib.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/stdlib.cfa
r5d1ebb9 r12b5e94a 10 10 // Created On : Thu Jan 28 17:10:29 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jan 13 21:38:30202213 // Update Count : 59 312 // Last Modified On : Sat Jan 15 14:33:21 2022 13 // Update Count : 595 14 14 // 15 15 … … 226 226 227 227 uint32_t __global_random_seed; // sequential/concurrent 228 uint32_t __global_random_state; // sequential only228 uint32_t __global_random_state; // sequential only 229 229 230 230 void set_seed( PRNG & prng, uint32_t seed_ ) with( prng ) { state = seed = seed_; GENERATOR( state ); } // set seed 231 uint32_t prng( PRNG & prng ) with( prng ) { callcnt += 1; return GENERATOR( state ); }232 231 233 232 void set_seed( uint32_t seed ) { __global_random_seed = seed; GENERATOR( __global_random_state ); }
Note:
See TracChangeset
for help on using the changeset viewer.