[PATCH] D34089: [llvm-stress] Ensure that the C++11 random device respects its min/max values (PR32585)

Marshall Clow via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 13 11:01:42 PDT 2017


mclow.lists added a comment.

> Is there a C++11 random class that covers the features we need (same results on different targets, drivable by input seed)?

Given that the libc++ `mersenne_twister_engine` tests test specifically that, yes.

see <libc++ root>/test/std//numerics/rand/rand.eng/rand.eng.mers/ctor_sseq.pass.cpp


Repository:
  rL LLVM

https://reviews.llvm.org/D34089





More information about the llvm-commits mailing list