commit | ae7bf9daac7c7427953ac90484fcc72df5b15d2a | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Sat Mar 23 19:29:45 2013 +0000 |
committer | Howard Hinnant <hhinnant@apple.com> | Sat Mar 23 19:29:45 2013 +0000 |
tree | d3489f2d05e042d232f8c69237ff0245a0d1e950 | |
parent | 9976b5511a5ff7c67dc7bc024604efa0baf43625 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@177826 91177308-0d34-0410-b5e6-96231b3b80d8