summaryrefslogtreecommitdiffstats
path: root/libcxx/test/numerics/rand/rand.dis
Commit message (Collapse)AuthorAgeFilesLines
* Move test into test/std subdirectory.Eric Fiselier2014-12-20384-19649/+0
| | | | llvm-svn: 224658
* Mark a bunch of long running tests as 'REQUIRES: long_tests'Jonathan Roelofs2014-12-1136-0/+72
| | | | | | This lets us skip them as UNSUPPORTED on slow systems like QEMU llvm-svn: 224032
* Fix PR#20843: binomial_distribution<unsigned> is broken. Add test to ensure ↵Marshall Clow2014-09-171-0/+11
| | | | | | that signed and unsigned verstions produce the same sequence. llvm-svn: 217976
* Marshall Clow found some divide-by-zero warnings with UBSan in rand's ↵Howard Hinnant2013-03-231-25/+65
| | | | | | 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. llvm-svn: 177826
* Fix bug in test; found by AddressSanitizerMarshall Clow2013-03-201-1/+1
| | | | llvm-svn: 177464
* Fix bug in test; found by AddressSanitizerMarshall Clow2013-03-181-1/+1
| | | | llvm-svn: 177355
* Fix test for default constructor of discrete_distribution. This partially ↵Howard Hinnant2012-04-021-6/+3
| | | | | | addresses http://llvm.org/bugs/show_bug.cgi?id=12436. llvm-svn: 153873
* Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574Howard Hinnant2011-08-1210-15/+24
| | | | llvm-svn: 137522
* license changeHoward Hinnant2010-11-16384-768/+768
| | | | llvm-svn: 119395
* Changed __config to react to all of clang's currently documented has_feature ↵Howard Hinnant2010-09-046-12/+12
| | | | | | flags, and renamed _LIBCPP_MOVE to _LIBCPP_HAS_NO_RVALUE_REFERENCES to be more consistent with the rest of the libc++'s flags, and with clang's nomenclature. llvm-svn: 113086
* Fixing whitespace problemsHoward Hinnant2010-08-2218-26/+25
| | | | llvm-svn: 111762
* [rand.dist.samp.plinear]. This means we've got a fully tested and ↵Howard Hinnant2010-05-2524-0/+1505
| | | | | | functional <random>! 489 tests over 48 sections are passing. :-) The only thing still on my plate in this area is to back-port some of this technology to random_shuffle/shuffle in <algorithm>. That will involve shuffling header bits around (<random> depepends on <algorithm>), but it won't entail that much development (compared to what has been required for <random>). llvm-svn: 104575
* [rand.dist.samp.pconst] plus some bug fixes in the tests of the other ↵Howard Hinnant2010-05-2054-387/+2220
| | | | | | distributions llvm-svn: 104224
* [rand.dist.samp.discrete]Howard Hinnant2010-05-1924-0/+1326
| | | | llvm-svn: 104103
* [rand.dist.norm.t]Howard Hinnant2010-05-1818-0/+797
| | | | llvm-svn: 104052
* [rand.dist.norm.f]Howard Hinnant2010-05-1818-0/+745
| | | | llvm-svn: 104035
* Better cauchy testsHoward Hinnant2010-05-182-19/+118
| | | | llvm-svn: 104008
* [rand.dist.norm.cauchy]. I'm having trouble testing the output as all ↵Howard Hinnant2010-05-1718-0/+595
| | | | | | statistical properties are undefined. They do not converge upon any one value as the number of samples increases. Suggestions for tests welcome. llvm-svn: 103983
* [rand.dist.norm.lognormal]Howard Hinnant2010-05-1718-0/+1024
| | | | llvm-svn: 103957
* [rand.dist.pois.extreme]Howard Hinnant2010-05-1718-0/+914
| | | | llvm-svn: 103942
* [rand.dist.bern.geo]Howard Hinnant2010-05-1718-0/+941
| | | | llvm-svn: 103937
* [rand.dist.bern.negbin]Howard Hinnant2010-05-1719-2/+965
| | | | llvm-svn: 103916
* Beefed up the tests for all of the distributions to include checks against ↵Howard Hinnant2010-05-1621-294/+2181
| | | | | | the expected skewness and kurtosis llvm-svn: 103910
* [rand.dist.pois.weibull]Howard Hinnant2010-05-1618-0/+727
| | | | llvm-svn: 103891
* [rand.dist.norm.chisq]Howard Hinnant2010-05-1521-0/+743
| | | | llvm-svn: 103888
* Revisited [rand.dist.bern.bin] and [rand.dist.pois.poisson] with better ↵Howard Hinnant2010-05-156-83/+350
| | | | | | algorithms llvm-svn: 103886
* [rand.dist.pois.poisson]Howard Hinnant2010-05-1418-0/+698
| | | | llvm-svn: 103814
* [rand.dist.pois.gamma]Howard Hinnant2010-05-1418-0/+727
| | | | llvm-svn: 103788
* partial [rand.dist.pois.gamma]Howard Hinnant2010-05-131-2/+2
| | | | llvm-svn: 103722
* [rand.dist.norm.normal]Howard Hinnant2010-05-1218-0/+641
| | | | llvm-svn: 103646
* [rand.dist.pois.exp]Howard Hinnant2010-05-1219-2/+621
| | | | llvm-svn: 103621
* tests for [rand.dist.bern.bin]Howard Hinnant2010-05-1218-0/+676
| | | | llvm-svn: 103612
* [rand.dist.bern.bin]. The evaluation function for this binomial ↵Howard Hinnant2010-05-111-1/+1
| | | | | | distribution is hopefully just a placeholder. It is using the simplest and slowest method for computing the distribution and needs to be upgraded. llvm-svn: 103524
* Wiped out some non-ascii characters that snuck into the copyright.Howard Hinnant2010-05-1157-57/+57
| | | | llvm-svn: 103516
* libcxx initial importHoward Hinnant2010-05-1157-0/+1794
llvm-svn: 103490
OpenPOWER on IntegriCloud