summaryrefslogtreecommitdiffstats
path: root/tools/regression/lib/msun/test-fmaxmin.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r292328:ngie2016-01-061-136/+0
| | | | | | | | | | | | Integrate a number of testcases from tools/regression/lib/msun into the FreeBSD test suite There's no functional change with these testcases; they're purposely being left in TAP format for the time being Other testcases which crash on amd64/i386 as-is have not been integrated yet (they need to be retested on a later version of CURRENT, as I haven't used i386 in some time)
* Factor out some common code from the libm tests. This is a bit messydas2013-06-021-15/+1
| | | | | | | | because different tests have different ideas about what it means to be "close enough" to the right answer, depending on the properties of the function being tested. In the process, I fixed some warnings and added a few more 'volatile' hacks, which are sufficient to make all the tests pass at -O2 with clang.
* signbit() returns nonzero for negative arguments, but we shouldn't assumedas2010-12-061-1/+2
| | | | that it always returns the same nonzero value.
* Fix some warnings.das2010-12-051-3/+3
|
* Add regression tests for fmin{,f,l} and fmax{,f,l}.das2008-07-031-0/+149
I wrote these to test amd64 asm functions that used maxss, maxsd, minss, and minsd, but it turns out that those instructions don't handle NaNs and signed zero in the same way as fmin() and fmax() are required to, so we're stuck with the C versions for now.
OpenPOWER on IntegriCloud