You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/test/numerics/rand
David Majnemer 4d9f97b40b [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.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@210061 91177308-0d34-0410-b5e6-96231b3b80d8
12 years ago
..
rand.adapt Zhang Xiongpang: Add definitions for const data members. Fixes http://llvm.org/bugs/show_bug.cgi?id=14585. 13 years ago
rand.device [libc++] Don't return uninitialized data from random_device::operator() 12 years ago
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. 13 years ago
rand.eng Fix a couple of bugs in linear_congruential_engine::seed. Regression test added. 13 years ago
rand.predef license change 15 years ago
rand.req license change 15 years ago
rand.synopsis license change 15 years ago
rand.util Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574 14 years ago
nothing_to_do.pass.cpp license change 15 years ago