bug-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gsl] initialisation of random number generator on 64bit machine


From: Brian Gough
Subject: Re: [Bug-gsl] initialisation of random number generator on 64bit machine
Date: Fri, 05 Sep 2008 17:22:33 +0100
User-agent: Wanderlust/2.14.0 (Africa) Emacs/22.2 Mule/5.0 (SAKAKI)

At Wed, 03 Sep 2008 15:43:33 +0200,
Vito Trianni wrote:
> 
> Hello,
> I noticed the following behaviour when initialising the random number 
> generator on a 64bit machine. Basically, on a 64 bit machine, the 
> unsigned long int probably provokes an overflow in the gsl_rng_set() 
> function, so that the initialisation of the seed in some way fails, and 
> I got always identical numbers despite different seeds. Here is part of 
> the code that made the overflow:

Thanks for your email -- could you send a complete example program
showing the seed and output values so we can reproduce the
problem. Thank you.

-- 
Brian Gough

GNU Scientific Library -
http://www.gnu.org/software/gsl/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]