Changeset 6e93819 for libcfa/src
- Timestamp:
- Sep 3, 2023, 8:19:28 AM (12 months ago)
- Branches:
- master
- Children:
- 3ef5905
- Parents:
- 4b30318b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/random.hfa
r4b30318b r6e93819 10 10 // Created On : Fri Jan 14 07:18:11 2022 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Mar 20 21:45:24202313 // Update Count : 18 612 // Last Modified On : Sat Sep 2 18:04:12 2023 13 // Update Count : 187 14 14 // 15 15 … … 22 22 23 23 // Set default PRNG for architecture size. 24 #if def __x86_64__// 64-bit architecture24 #if defined( __x86_64__ ) || defined( __arm_64__ ) // 64-bit architecture 25 25 // 64-bit generators 26 26 //#define LEHMER64 … … 44 44 #define XOSHIRO128PP 45 45 // #define SPLITMIX_32 46 #endif // __x86_64__46 #endif 47 47 48 48 // Define C/CFA PRNG name and random-state. … … 112 112 113 113 // Default PRNG used by runtime. 114 #if def __x86_64__// 64-bit architecture114 #if defined( __x86_64__ ) || defined( __arm_64__ ) // 64-bit architecture 115 115 #define PRNG_NAME PRNG_NAME_64 116 116 #define PRNG_STATE_T PRNG_STATE_64_T … … 118 118 #define PRNG_NAME PRNG_NAME_32 119 119 #define PRNG_STATE_T PRNG_STATE_32_T 120 #endif // __x86_64__120 #endif 121 121 122 122 #define PRNG_SET_SEED GLUE(PRNG_NAME,_set_seed)
Note: See TracChangeset
for help on using the changeset viewer.