Let me know if I can help more. Regards, Vito
bug-gsl.cpp
Description: Binary data
On Sep 5, 2008, at 6:22 PM, Brian Gough wrote:
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 ofthe 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/
= = ========================================================================
Vito Trianni, Ph.D. vito.trianni@(no_spam)istc.cnr.it CNR-ISTC http://laral.istc.cnr.it/trianni via San Martino della Battaglia, 44 00185 Roma Tel: +39 06 44595 215 Italy Fax: +39 06 44595 243= = ========================================================================
_______________________________________________ Bug-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gsl
