Changes in / [474a170:aadb0c8]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/stdlib.cfa

    r474a170 raadb0c8  
    1010// Created On       : Thu Jan 28 17:10:29 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Nov 30 18:14:05 2022
    13 // Update Count     : 622
     12// Last Modified On : Sat Dec  3 17:14:13 2022
     13// Update Count     : 623
    1414//
    1515
     
    229229__attribute__((visibility("hidden"))) PRNG_STATE_T __global_random_state; // sequential only
    230230
    231 void set_seed( size_t seed ) { __global_random_seed = seed; PRNG_SET_SEED( __global_random_state, seed ); PRNG_NAME( __global_random_state ); }
     231void set_seed( size_t seed ) {
     232        __global_random_seed = seed;
     233        PRNG_SET_SEED( __global_random_state, seed );
     234        PRNG_NAME( __global_random_state );
     235}
    232236size_t get_seed() { return __global_random_seed; }
    233237size_t prng( void ) { return PRNG_NAME( __global_random_state ); } // [0,UINT_MAX]
Note: See TracChangeset for help on using the changeset viewer.