in reply to rand and srand across builds and platforms?

As seen above, the rand() and srand() functions are machine dependent. If you need consistency across CPUs and C-libraries, I would recommend using a module with it's own self-contained routine. Math::Random::MT is one of the best.

-Mark

  • Comment on Re: rand and srand across builds and platforms?