llvm-project/libcxx/test/numerics/rand
David Majnemer 2dfdfdf45c [libc++] Don't return uninitialized data from random_device::operator()
Make sure we appropriately retry calls to read if the return result is
less than what we asked for.

Additionally, check and handle IO errors: EINTR results in the read
operation getting restarted; other errors turn into exceptions.

llvm-svn: 210061
2014-06-03 02:40:39 +00:00
..
rand.adapt Zhang Xiongpang: Add definitions for const data members. Fixes http://llvm.org/bugs/show_bug.cgi?id=14585. 2012-12-12 21:14:28 +00:00
rand.device [libc++] Don't return uninitialized data from random_device::operator() 2014-06-03 02:40:39 +00:00
rand.dis Marshall Clow found some divide-by-zero warnings with UBSan in rand's binomial_distribution test. This eliminates the divide-by-zeros and describes in comments the numerical difficulties the test is having. Each of the problematic tests are exploring edge cases of the distribution. 2013-03-23 19:29:45 +00:00
rand.eng Fix a couple of bugs in linear_congruential_engine::seed. Regression test added. 2013-05-21 21:05:12 +00:00
rand.predef license change 2010-11-16 22:09:02 +00:00
rand.req license change 2010-11-16 22:09:02 +00:00
rand.synopsis license change 2010-11-16 22:09:02 +00:00
rand.util Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574 2011-08-12 21:56:02 +00:00
nothing_to_do.pass.cpp license change 2010-11-16 22:09:02 +00:00