martin
dbc87f74ee
Backout previous - real fix for vax libm upcoming.
2013-05-24 11:47:13 +00:00
christos
fdb7536171
vaxinate the new tests.
2013-05-23 20:45:47 +00:00
martin
85d85a185b
Add a few test cases to test "ordinary" values with the various scalbn
...
variants. While there, make some spuriously failing tests print out the
broken values on failure.
2013-05-20 12:21:42 +00:00
isaki
0c8b5b215f
Use a pre-calculated value as expected result, instead of
...
comparing it in a mathematical formula.
PR lib/46434 (and see also 46433).
2013-04-09 12:11:04 +00:00
isaki
ffc77545dc
Tune the epsilon about each value for exp{,f}_product.
2013-04-09 11:42:56 +00:00
isaki
3e866cf1f6
Fix and revive test of atan_inf_neg, atan_inf_pos and atan_tan on i386.
...
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.
2013-03-21 02:10:52 +00:00
jruoho
85dbe713e8
Remove expected failures that no longer fail (probably due a Qemu update).
2012-09-26 07:24:38 +00:00
jruoho
88bb4c68e1
Add patch from Tetsuya Isaki in PR lib/46433.
2012-05-30 15:14:10 +00:00
njoly
d2c0752725
Do not re-add -mieee option on alpha, it's already set by default.
2012-04-13 12:31:19 +00:00
jruoho
ff8307152c
Remove one xfail that does not seem to fail (on alpha).
2012-04-08 09:36:04 +00:00
jruoho
68f1ec4f2e
Point to PR port-alpha/46301 when failing on Alpha.
2012-04-06 08:07:32 +00:00
matt
c5d3880df0
If one of the tests with eps fails, print the failing eps.
2012-03-23 23:45:31 +00:00
jruoho
b0fb6f41df
And finally, fix boolean logic in the previous.
2012-03-11 06:36:05 +00:00
jruoho
fdacd78abe
Fix previous: curiously enough, i386/qemu is not affected, so use the
...
"system(3) hack" to identify Qemu.
2012-03-11 06:32:53 +00:00
jruoho
f24e4366aa
Point to PR port-i386/46108 when failing on i386.
2012-03-10 20:11:01 +00:00
pgoyette
a885f06423
Remove an escape sequence that was introduced by accident.
2012-02-28 08:58:39 +00:00
jruoho
b949b4c07e
Fix wrong type.
2012-02-28 06:09:48 +00:00
jruoho
f91f485fa7
Fix wrong error failure message.
2012-02-13 05:09:01 +00:00
matt
fcaa0c3257
Change eps to fit within the VAX FP range.
2012-02-05 17:52:55 +00:00
mlelstv
ea28fb54a5
The compiler is allowed to use intermediate higher precision for float
...
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-11-19 12:46:41 +00:00
jruoho
11bceb6a8a
Reduce tolerance even more.
2011-10-18 14:16:42 +00:00
jruoho
b2508f4f43
Adjust and add some printfs.
2011-10-18 04:51:01 +00:00
jruoho
09e0db7e84
Remove 't_rint' as it was committed accidentally.
2011-10-16 13:43:26 +00:00
jruoho
720d37c338
As couple of checks fails on i386/qemu, reduce tolerance.
2011-10-16 13:42:22 +00:00
jruoho
d8db378021
Add t_sqrt and t_cbrt.
2011-10-16 08:25:55 +00:00
jruoho
9a2c9f3246
Basic checks for the root functions.
2011-10-16 08:25:40 +00:00
jruoho
a684ed294b
Basic IEEE tests for the hyperbolic sine and cosine.
2011-10-16 07:40:47 +00:00
jruoho
b78b168963
More bugs in pow(3); cases for PR port-amd64/45391.
2011-09-23 13:48:28 +00:00
jruoho
9ebeca8a64
Move duplicate ldexp(3) test out from the tests/libc.
2011-09-19 05:40:38 +00:00
jruoho
81fd6738d6
IEEE checks for the exponential family.
2011-09-18 05:19:18 +00:00
jruoho
9273f704b7
Add few basic checks.
2011-09-18 04:49:11 +00:00
jruoho
abfe6bc07d
Reduce tolerance to see whether still acosf(cosf(x)) != x on i386/qemu.
2011-09-18 04:48:38 +00:00
jruoho
e0a0895c11
IEEE checks for the arcus functions.
2011-09-17 18:08:35 +00:00
jruoho
6c414326e6
Add more cases.
2011-09-17 12:12:19 +00:00
jruoho
99d89af157
Few tests for the error functions.
2011-09-17 12:00:50 +00:00
jruoho
719ceba55f
IEEE corner case tests for the pow(3) family (incl. PR lib/45372).
2011-09-17 08:15:43 +00:00
jruoho
ca5cfe7128
Reduce the powers.
2011-09-17 06:21:19 +00:00
jruoho
6ceed68f62
Adjust to see where this fails on i386/qemu.
2011-09-16 04:54:46 +00:00
he
e2734790d2
#ifdef on __vax__ one more place, to avoid reference to tanf() for vax.
2011-09-15 11:05:50 +00:00
jruoho
484972bd18
Fix bug/oversight.
2011-09-14 13:47:40 +00:00
jruoho
ea461b7aa2
Additions to PR lib/45362: the float variants cosf(3), sinf(3), and tanf(3)
...
do not detect NaN for positive and negative infinity on i386 (qemu).
2011-09-14 13:29:58 +00:00
jruoho
8c901a0444
Use fabsf(3) when appropriate.
2011-09-14 06:50:43 +00:00
jruoho
8f667ecf71
Some tests for sine, cosine, and tangent.
2011-09-14 05:18:18 +00:00
jruoho
2cae26a144
Assign missing copyright to TNF.
...
XXX: If these originated from you, please modify accordingly.
2011-09-13 08:58:41 +00:00
jruoho
95a05df276
Improve metadata once again.
2011-09-13 07:07:32 +00:00
jruoho
95fc86fc91
Test ldexp(x, n) == x * exp2(n) && ldexpf(x, n) == x * exp2f(n).
2011-09-13 07:03:36 +00:00
jruoho
8fa0fcafcb
Test that scalbn(x) == ldexp(2) whenever FLT_RADIX == 2 (like it should be
...
on all systems except exotic relics such as IBM 360).
2011-09-13 06:50:41 +00:00
jruoho
a5f70e6aac
When failing, point to the tracker PR lib/45362.
2011-09-13 04:24:30 +00:00
jruoho
7638c70b09
Expand the test file to contain 48 individual test cases.
2011-09-12 18:07:29 +00:00
jruoho
f006ee10dc
Improve the metadata descriptions.
2011-09-12 17:45:51 +00:00