Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
libcxx
/
97400a9b5bf4bd7adf7268825acaa2a9984f1aaa
/
test
/
numerics
471f3c6
Fix a couple of -Wabsolute-value warnings in the libc++ tests
by Marshall Clow
· 11 years ago
0d6dcb5
Remove definition of std::fmaf from libc++. Fixes bug #18910. This function should come from the C standard library. As a drive-by fix, update the tests to remove a warning from -Wabsolute-value
by Marshall Clow
· 11 years ago
908b5d7
Back out the <type_traits> changes from r198431; they were breaking when building with glibc. Need to find a better solution for PR18218.
by Marshall Clow
· 11 years ago
854a7a0
Patch by Howard. First part of fix for PR18218; add type traits needed to do the right thing. Fix the problems in PR18218 for isnan and pow - they also need to be applied to the other functions in <cmath>. Also, a drive-by fix for the test - now actually calls test_abs()
by Marshall Clow
· 11 years ago
320c80f
Implement literal suffixes for compled
by Marshall Clow
· 11 years ago
641d3d8
XFAIL a few tests on darwin12
by Howard Hinnant
· 11 years ago
1c44f51
Zhihao Yuan noted that a move assignment operation was missing from std::adjacent_difference. Fixed.
by Howard Hinnant
· 11 years ago
ab61b2c
War on tabs
by Howard Hinnant
· 11 years ago
a61e6f8
Implement constexpr (n3302) and fix operator *= and /=
by Marshall Clow
· 11 years ago
8f72d5c
Fix a couple of bugs in linear_congruential_engine::seed. Regression test added.
by Howard Hinnant
· 11 years ago
ae7bf9d
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.
by Howard Hinnant
· 12 years ago
bdea27b
Fix bug in test; found by AddressSanitizer
by Marshall Clow
· 12 years ago
c19fe86
Fix bug in test; found by AddressSanitizer
by Marshall Clow
· 12 years ago
548d392
[tests] Mark another stream input expected failure (with system libc++).
by Daniel Dunbar
· 12 years ago
b05a556
Make <cmath> classification macros work with integral types.
by Howard Hinnant
· 12 years ago
83e2c4d
Move common header files into a 'support' directory; make 'testit' include -I to that directory; rename 'iterators.h' to 'iterator_test.h'; remove hard-coded paths to include files from more than 350 source files
by Marshall Clow
· 12 years ago
8226d0b
...and then there was one. Only one copy of 'iterators.h' in the test tree for libc++
by Marshall Clow
· 12 years ago
0a69fa1
Zhang Xiongpang: Add definitions for const data members. Fixes http://llvm.org/bugs/show_bug.cgi?id=14585.
by Howard Hinnant
· 12 years ago
2d3f4ee
Add overflow check to tanh(complex) and reduce to finite answer. Fixes http://llvm.org/bugs/show_bug.cgi?id=13874
by Howard Hinnant
· 12 years ago
410f2de
constexpr applied to <complex>.
by Howard Hinnant
· 12 years ago
8efd3da
Update <random> with constexpr support. Patch contributed by Jonathan Sauer.
by Howard Hinnant
· 13 years ago
2cf89a7
Fix test for default constructor of discrete_distribution. This partially addresses http://llvm.org/bugs/show_bug.cgi?id=12436.
by Howard Hinnant
· 13 years ago
92a836c
Reimplemented much of <istream> such that single character extractions do not check to see if this is the last character in the stream and thus never set eofbit. This fixes http://llvm.org/bugs/show_bug.cgi?id=10817 . This fix requires a recompiled libc++.dylib to be fully implemented. The recompiled libc++.dylib is ABI compatible with that shipped on Lion.
by Howard Hinnant
· 13 years ago
e3e3291
Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574
by Howard Hinnant
· 13 years ago
f6cc833
Warning suppression in test.
by Howard Hinnant
· 13 years ago
783b810
Warning suppression in test.
by Howard Hinnant
· 13 years ago
0a11111
http://llvm.org/bugs/show_bug.cgi?id=9854. Also created an emulated hexfloat literal for use in some of the tests. <sigh> And cleaned up some harmless but irritating warnings in the tests.
by Howard Hinnant
· 13 years ago
ef3b2e2
Fix bug in Sseq constraints found by Seth Cantrell
by Howard Hinnant
· 14 years ago
995676a
LWG 1522
by Howard Hinnant
· 14 years ago
b64f8b0
license change
by Howard Hinnant
· 14 years ago
73d21a4
Changed __config to react to all of clang's currently documented has_feature 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.
by Howard Hinnant
· 14 years ago
0e20cae
Fixing whitespace problems
by Howard Hinnant
· 14 years ago
3ec3184
Implemented some adaptor constructors which I had missed.
by Howard Hinnant
· 14 years ago
ebef745
[numeric.iota]
by Howard Hinnant
· 14 years ago
5430540
[rand.dist.samp.plinear]. This means we've got a fully tested and 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>).
by Howard Hinnant
· 14 years ago
d6d1171
[rand.dist.samp.pconst] plus some bug fixes in the tests of the other distributions
by Howard Hinnant
· 14 years ago
551d8e4
[rand.dist.samp.discrete]
by Howard Hinnant
· 14 years ago
321b4bb
[rand.dist.norm.t]
by Howard Hinnant
· 14 years ago
d8bc09b
[rand.dist.norm.f]
by Howard Hinnant
· 14 years ago
ed9b2aa
Better cauchy tests
by Howard Hinnant
· 14 years ago
d7d0113
[rand.dist.norm.cauchy]. I'm having trouble testing the output as all statistical properties are undefined. They do not converge upon any one value as the number of samples increases. Suggestions for tests welcome.
by Howard Hinnant
· 14 years ago
2bc36fc
[rand.dist.norm.lognormal]
by Howard Hinnant
· 14 years ago
c2b0dc7
[rand.dist.pois.extreme]
by Howard Hinnant
· 14 years ago
34e8a57
[rand.dist.bern.geo]
by Howard Hinnant
· 14 years ago
f2fe5d5
[rand.dist.bern.negbin]
by Howard Hinnant
· 14 years ago
df40dc6
Beefed up the tests for all of the distributions to include checks against the expected skewness and kurtosis
by Howard Hinnant
· 14 years ago
9de6e30
[rand.dist.pois.weibull]
by Howard Hinnant
· 14 years ago
97dc2f3
[rand.dist.norm.chisq]
by Howard Hinnant
· 14 years ago
6add8dd
Revisited [rand.dist.bern.bin] and [rand.dist.pois.poisson] with better algorithms
by Howard Hinnant
· 14 years ago
4ff556c
[rand.dist.pois.poisson]
by Howard Hinnant
· 14 years ago
f417abe
[rand.dist.pois.gamma]
by Howard Hinnant
· 14 years ago
c7c4913
partial [rand.dist.pois.gamma]
by Howard Hinnant
· 14 years ago
a64111c
[rand.dist.norm.normal]
by Howard Hinnant
· 14 years ago
30a840f
[rand.dist.pois.exp]
by Howard Hinnant
· 14 years ago
5f9b133
tests for [rand.dist.bern.bin]
by Howard Hinnant
· 14 years ago
03aad81
[rand.dist.bern.bin]. The evaluation function for this binomial distribution is hopefully just a placeholder. It is using the simplest and slowest method for computing the distribution and needs to be upgraded.
by Howard Hinnant
· 14 years ago
f5256e1
Wiped out some non-ascii characters that snuck into the copyright.
by Howard Hinnant
· 14 years ago
bc8d3f9
libcxx initial import
by Howard Hinnant
· 14 years ago