rurban / dieharder

A fixed version of Robert G. Brown's "dieharder" tests for random number generators.
Other
10 stars 4 forks source link

skip 64bit rngs on 32bit #9

Closed rurban closed 4 years ago

rurban commented 4 years ago

long unsigned int results and max cannot be represented with the gsl dictated (wrong) types for get and max. UINT64_MAX will be truncated to 32bit, as well as the rng results.

we could easily fix that by defining those types as uint64_t, but these types come from libgsl.

we could skip them, or rewrite them to return only 32bit results.

rurban commented 4 years ago

I decided to skip some objects at all:

plus the 64bit variants for pcg64, threefry, philox, mt64, jsf64

and workaround the rest, to return 32bit only.:

rurban commented 4 years ago

Done with 4d058eae1128e5759763259a5a0dd9d2c2d2dc3d