Den 24.01.2012 17:19, skrev David Warde-Farley: > > Hmm. Seeing as the width of a C long is inconsistent, does this imply that > the random number generator will produce different results on different > platforms?
If it does, it is a C programming mistake. C code should never depend on the exact size of a long, only it's minimum size. ISO C defines other datatypes if an exact integer size is needed (include stdint.h), but ANSI C used for NumPy does not. Sturla _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion