Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/PRNG.cfa

    r20cf96d ree4b77b  
    88// Created On       : Wed Dec 29 09:38:12 2021
    99// Last Modified By : Peter A. Buhr
    10 // Last Modified On : Tue Nov 22 22:51:12 2022
    11 // Update Count     : 381
     10// Last Modified On : Sat Apr  9 15:21:14 2022
     11// Update Count     : 344
    1212//
    1313
     
    2222#include <mutex_stmt.hfa>
    2323
    24 #ifdef __x86_64__                                                                               // 64-bit architecture
    25 #define PRNG PRNG64
    26 #else                                                                                                   // 32-bit architecture
    27 #define PRNG PRNG32
    28 #endif // __x86_64__
    29 
    3024#ifdef TIME                                                                                             // use -O2 -nodebug
    3125#define STARTTIME start = timeHiRes()
     
    6054
    6155
    62 unsigned int seed = 1009;
     56uint32_t seed = 1009;
    6357
    6458thread T1 {};
     
    164158#if 1
    165159        PRNG prng;
    166 
    167160        if ( seed != 0 ) set_seed( prng, seed );
    168161
Note: See TracChangeset for help on using the changeset viewer.