Changeset c8238c0


Ignore:
Timestamp:
Dec 1, 2022, 5:26:40 PM (2 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, ast-experimental, master
Children:
a84f643
Parents:
dd46fd3
Message:

remove 32-bit use of lehmer64, which requires uint128_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/bits/random.hfa

    rdd46fd3 rc8238c0  
    1010// Created On       : Fri Jan 14 07:18:11 2022
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Nov 30 18:32:25 2022
    13 // Update Count     : 111
     12// Last Modified On : Thu Dec  1 11:52:08 2022
     13// Update Count     : 115
    1414//
    1515
     
    2828//#define XOSHIRO128PP
    2929#else                                                                                                   // 32-bit architecture
    30 #define LEHMER64
     30#define XORSHIFT_13_7_17
    3131#define XORSHIFT_6_21_7
     32//#define XOSHIRO256PP
     33//#define XOSHIRO128PP
    3234#endif // __x86_64__
    3335
     
    3840#define PRNG_STATE_64_T __uint128_t
    3941#endif // LEHMER64
     42
     43#ifdef XORSHIFT_13_7_17
     44#define PRNG_NAME_64 xorshift_13_7_17
     45#define PRNG_STATE_64_T uint64_t
     46#endif // XORSHIFT_13_7_17
    4047
    4148#ifdef XORSHIFT_6_21_7
Note: See TracChangeset for help on using the changeset viewer.