in reply to rand and srand across builds and platforms?

I'd say that looks like a no; stock 5.8.1 on OS X sez:

0.203723445340199 0.893308938570904 0.262596539117187 0.776595210641958 0.739336229299024 0.131970010506016 0.834684628984551 0.842243446561724 0.776803253700376 0.467943108165379

However I think Math::Random is more consistent.

Replies are listed 'Best First'.
Re^2: rand and srand across builds and platforms?
by BrowserUk (Patriarch) on Mar 08, 2005 at 15:41 UTC
    However I think Math::Random is more consistent.

    I think my favorite Math::Random::MT might be also, but it would be too much to add a prerequisite for a compiled package that's only used in testing I think.

    I can embed a few useful sequences I guess.


    Examine what is said, not who speaks.
    Silence betokens consent.
    Love the truth but pardon error.