This is the mail archive of the gsl-discuss@sourceware.org mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Random number generators


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])
`----

Greetings,
Jochen
-- 
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.)

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]