Random number generators

Jochen Küpper jochen@fhi-berlin.mpg.de
Sun Jan 8 00:29:00 GMT 2006

Heiko Bauke <heiko.bauke@physik.uni-magdeburg.de> writes:

> For (multiple) linear congruential generators with prime moduls a
> seedup up to a factor 15 can be gained by switching from a
> implementation that uses 32-bit arithmetic to 64-bit arithmetic.

Wow. I would like to see that in GSL for sure;)

> Instead of checking for LLONG_MAX it would be better to check in the
> configure skript, if the data type long long is available and to define
> a HAVE_LONG_LONG macro in config.h. But unfortunately I do not know
> enough about autotools to integrate such a machnism.

| AC_CHECK_TYPES([long long])

Maybe it would be better to check for int64_t?
| AC_CHECK_TYPES([int64_t])

Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
        (Part 3 you find in my messages before fall 2003.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gsl-discuss/attachments/20060108/9ca86a16/attachment.sig>

More information about the Gsl-discuss mailing list