summaryrefslogtreecommitdiffstats
path: root/libcxx/test/numerics/c.math
Commit message (Collapse)AuthorAgeFilesLines
* Move test into test/std subdirectory.Eric Fiselier2014-12-206-1607/+0
| | | | llvm-svn: 224658
* [libcxx] Fix SFINAE in <cmath>. Patch from K-Ballo.Eric Fiselier2014-10-171-0/+143
| | | | | | | | Delay instantiation of `__numeric_type` within <cmath>, don't instantiate it when the `is_arithmetic` conditions do not hold as it causes errors with user-defined types with ambiguous conversions. Fixes PR21083. llvm-svn: 219998
* fix copy and pasted comment in testEric Fiselier2014-08-091-1/+1
| | | | llvm-svn: 215276
* Mark math.h and cmath tests as xfail on linux.Eric Fiselier2014-08-093-26/+63
| | | | | | | | | | | | | These tests were marked as failing because the libc implementation does not use the proper return type on certain math functions. There is other weirdness that prevents us from defining our own version of these functions. The failing tests in cmake were separated into their own files so that the rest failures in the rest of the cmath tests were not hidden. This was not done for the math.h test since we don't actually supply math.h llvm-svn: 215275
* Remove definition of std::fmaf from libc++. Fixes bug #18910. This function ↵Marshall Clow2014-03-051-2/+2
| | | | | | should come from the C standard library. As a drive-by fix, update the tests to remove a warning from -Wabsolute-value llvm-svn: 202990
* Back out the <type_traits> changes from r198431; they were breaking when ↵Marshall Clow2014-01-061-7/+7
| | | | | | building with glibc. Need to find a better solution for PR18218. llvm-svn: 198623
* Patch by Howard. First part of fix for PR18218; add type traits needed to do ↵Marshall Clow2014-01-031-0/+14
| | | | | | 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() llvm-svn: 198431
* Make <cmath> classification macros work with integral types.Howard Hinnant2013-01-141-0/+12
| | | | llvm-svn: 172461
* Move common header files into a 'support' directory; make 'testit' include ↵Marshall Clow2013-01-051-1/+1
| | | | | | -I to that directory; rename 'iterators.h' to 'iterator_test.h'; remove hard-coded paths to include files from more than 350 source files llvm-svn: 171594
* http://llvm.org/bugs/show_bug.cgi?id=9854. Also created an emulated ↵Howard Hinnant2011-05-131-2/+4
| | | | | | hexfloat literal for use in some of the tests. <sigh> And cleaned up some harmless but irritating warnings in the tests. llvm-svn: 131318
* license changeHoward Hinnant2010-11-164-8/+8
| | | | llvm-svn: 119395
* Wiped out some non-ascii characters that snuck into the copyright.Howard Hinnant2010-05-114-4/+4
| | | | llvm-svn: 103516
* libcxx initial importHoward Hinnant2010-05-114-0/+1399
llvm-svn: 103490
OpenPOWER on IntegriCloud