mercredi 28 septembre 2016

Reproduce the same result of the C++ 11 random generator

Is it guaranteed by the standard that if std::mt19937 was seeded by the same number, it will produce the same sequence of numbers on all platforms?

In other words, is its implementation well-defined by the standard or it is like std::rand() which was considered as implementation details?




Aucun commentaire:

Enregistrer un commentaire