Ignore:
Timestamp:
Dec 5, 2022, 1:23:03 PM (18 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, ast-experimental, master
Children:
d4c8b59
Parents:
aadb0c8
Message:

formatting, switch to typedef for PRNG complex state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/stdlib.cfa

    raadb0c8 r4020f09  
    1010// Created On       : Thu Jan 28 17:10:29 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat Dec  3 17:14:13 2022
    13 // Update Count     : 623
     12// Last Modified On : Mon Dec  5 11:59:03 2022
     13// Update Count     : 628
    1414//
    1515
     
    233233        PRNG_SET_SEED( __global_random_state, seed );
    234234        PRNG_NAME( __global_random_state );
    235 }
     235} // set_seed
     236
    236237size_t get_seed() { return __global_random_seed; }
    237238size_t prng( void ) { return PRNG_NAME( __global_random_state ); } // [0,UINT_MAX]
Note: See TracChangeset for help on using the changeset viewer.