I just went throughsome random-number generator examples (e.g.vsrnguniform.f and vsrngnegbinomial.f) included in the VSL for Fortran and noticed that all series of random numbers start with a leading zero.Why? This zero isalso included in the calculation of mean and variance. If you reduce the sample size (paramters nn and n in the example code) you can see that the mean and variancebecome highly affected by that zero. Is that a bug or is there a deeper reason? Thanks for helping!

# zeroes in random number generators VSLf

For more complete information about compiler optimizations, see our Optimization Notice.