[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] Ranges for random generators
From: |
Sergey Ivanov |
Subject: |
[Help-gsl] Ranges for random generators |
Date: |
Tue, 8 Feb 2011 18:19:29 +0100 |
Looking for generator with 64-bit range. for gsl_rng_alloc function.
This is a list oif all possible generators (if env GSL_RNG_TYPE is
wrong then this list return gsl_rng_env_setup):
Valid generator types are:
borosh13 cmrg coveyou fishman18
fishman20 fishman2x gfsr4 knuthran
knuthran2 knuthran2002 lecuyer21 minstd
mrg mt19937 mt19937_1999 mt19937_1998
r250 ran0 ran1 ran2
ran3 rand rand48 random128-bsd
random128-glibc2 random128-libc5 random256-bsd random256-glibc2
random256-libc5 random32-bsd random32-glibc2 random32-libc5
random64-bsd random64-glibc2 random64-libc5 random8-bsd
random8-glibc2 random8-libc5 random-bsd random-glibc2
random-libc5 randu ranf ranlux
ranlux389 ranlxd1 ranlxd2 ranlxs0
ranlxs1 ranlxs2 ranmar slatec
taus taus2 taus113 transputer
tt800 uni uni32 vax
waterman14 zuf
So, i tried mt19937_1998, random64-bsd, random64-glibc2,
random256-libc5 and in first case
gsl_rng_max returns 4294967295, in other cases - 2147483647...
Box is 64-bit, sizeof(int)=4, sizeof(long int)=sizeof(long long int)=8
--
Kind regards,
Sergey Ivanov
- [Help-gsl] Ranges for random generators,
Sergey Ivanov <=