summaryrefslogtreecommitdiff
path: root/tests/lib/libm
AgeCommit message (Collapse)Author
2014-03-03Remove the print of the rounding mode.dsl
It was added in case it was non-zero - which it isn't. It still isn't clear why acos(-1) gives the wrong result on some amd64 systems.
2014-03-03Define HAVE_FENV_H on architectures that support it.martin
What a mess, we need a central place for this!
2014-03-03Remove all cargo-cult #ifndef __vax__ from the tests, that just papermartin
over bugs in the vax libm.
2014-03-03Fix build for platforms w/o fenv.h.martin
Remove some bogus #ifdef __vax__ (and add a few, hopefully non-bogus, new ones).
2014-03-02Include the subtest number in any error output.dsl
Also temporarily print the rounding mode. I think that acos(-1) is ending up with the wrong sign because the test is being run with 'round towards -ve infinity' set. I think it getting set somewhere and causing this test to fail. The acos() code probably needs fixing - it shouldn't depend on the round mode like this. But first I want to know if this if the error.
2014-03-01Some of the acos() tests seem to fail on some systems.dsl
Sorting out why isn't helped by the tests not reporting the erronous value. Change the 'boilerplate' pattern used so that all the values are output. Reduce the amount of faffy red tape as well. Some of these reductions could be shared with other libm tests, but for the moment they are defined in this file. All these tests pass on my amd64 system, and when I run amd64 qemu.
2014-02-27Avoid promotion in subexpressions.joerg
2014-02-09Use compiler builtins instead of atf_arch and atf_machine.jmmv
The atf_arch and atf_machine configuration variables were removed from atf-0.19 without me realizing that some tests were querying them directly. Instead of reintroducing those variables, just rely on compiler builtins as many other tests already do. Should fix PR bin/48582.
2013-11-22Adjust expected epsilon for sqrtl <-> powl comparisions for defects inmartin
powl (which actually is pow for now)
2013-11-19Add cbrtl(3) and sqrtl(3), from FreeBSD.joerg
2013-11-13Add FreeBSD's truncl and minimal testing.joerg
2013-11-12Initial version of fmodl from FreeBSD.joerg
Basic test case for the fmod family.
2013-11-11Add initial version of ceill, floorl and roundl from FreeBSD.joerg
2013-11-11NetBSD 6.99.26: Switch i386 and amd64 to the x87 default control wordjoerg
as initial value for new processes. This means that long double computations get the expected 63bit mantissa. Binaries tagged as compiled for 6.99.25 and older get the old value. Add a simple test case to ensure that double and long double computation are working correctly.
2013-06-14Remove header files which became unnecessary in 1.7.isaki
2013-05-24Backout previous - real fix for vax libm upcoming.martin
2013-05-23vaxinate the new tests.christos
2013-05-20Add a few test cases to test "ordinary" values with the various scalbnmartin
variants. While there, make some spuriously failing tests print out the broken values on failure.
2013-04-09Use a pre-calculated value as expected result, instead ofisaki
comparing it in a mathematical formula. PR lib/46434 (and see also 46433).
2013-04-09Tune the epsilon about each value for exp{,f}_product.isaki
2013-03-21Fix and revive test of atan_inf_neg, atan_inf_pos and atan_tan on i386.isaki
PR port-i386/46108. The machine epsilon 1.0e-40 is too severe and nonsense for double because DBL_EPSILON is about 2.2e-16 . I think that 1.0e-15 is enough good, in this case. XXX However, test of atan_tan should be replaced for other reasons.
2012-09-26Remove expected failures that no longer fail (probably due a Qemu update).jruoho
2012-05-30Add patch from Tetsuya Isaki in PR lib/46433.jruoho
2012-04-13Do not re-add -mieee option on alpha, it's already set by default.njoly
2012-04-08Remove one xfail that does not seem to fail (on alpha).jruoho
2012-04-06Point to PR port-alpha/46301 when failing on Alpha.jruoho
2012-03-23If one of the tests with eps fails, print the failing eps.matt
2012-03-11And finally, fix boolean logic in the previous.jruoho
2012-03-11Fix previous: curiously enough, i386/qemu is not affected, so use thejruoho
"system(3) hack" to identify Qemu.
2012-03-10Point to PR port-i386/46108 when failing on i386.jruoho
2012-02-28Remove an escape sequence that was introduced by accident.pgoyette
2012-02-28Fix wrong type.jruoho
2012-02-13Fix wrong error failure message.jruoho
2012-02-05Change eps to fit within the VAX FP range.matt
2011-11-19The compiler is allowed to use intermediate higher precision for floatmlelstv
arithmetic, which may cause differences smaller than float precision but still much larger than eps = 1e-30. Forcing intermediate results to volatile variables removes the excess precision.
2011-10-18Reduce tolerance even more.jruoho
2011-10-18Adjust and add some printfs.jruoho
2011-10-16Remove 't_rint' as it was committed accidentally.jruoho
2011-10-16As couple of checks fails on i386/qemu, reduce tolerance.jruoho
2011-10-16Add t_sqrt and t_cbrt.jruoho
2011-10-16Basic checks for the root functions.jruoho
2011-10-16Basic IEEE tests for the hyperbolic sine and cosine.jruoho
2011-09-23More bugs in pow(3); cases for PR port-amd64/45391.jruoho
2011-09-19Move duplicate ldexp(3) test out from the tests/libc.jruoho
2011-09-18IEEE checks for the exponential family.jruoho
2011-09-18Add few basic checks.jruoho
2011-09-18Reduce tolerance to see whether still acosf(cosf(x)) != x on i386/qemu.jruoho
2011-09-17IEEE checks for the arcus functions.jruoho
2011-09-17Add more cases.jruoho
2011-09-17Few tests for the error functions.jruoho