I need a "random" number generator, which produces the same result for a given seed on Windows, Mac, Linux, iOS and Android. Now I tried std::rand
and boost::random_int_generator
with boost::mt19937
but sadly the result is different between Windows and Mac.
Does anyone know of a (C++) implementation, that works reliably on all platforms?
Aucun commentaire:
Enregistrer un commentaire