Lines Matching defs:testall
49 * relative error allowed may be specified. For the 'testall'
81 #define testall(prefix, x, result, excepts) \
131 testall(asin, 0.0, 0.0, 0);
132 testall(acos, 0.0, pi / 2, FE_INEXACT);
133 testall(atan, 0.0, 0.0, 0);
134 testall(asin, -0.0, -0.0, 0);
135 testall(acos, -0.0, pi / 2, FE_INEXACT);
136 testall(atan, -0.0, -0.0, 0);
138 testall(asin, INFINITY, NAN, FE_INVALID);
139 testall(acos, INFINITY, NAN, FE_INVALID);
140 testall(atan, INFINITY, pi / 2, FE_INEXACT);
141 testall(asin, -INFINITY, NAN, FE_INVALID);
142 testall(acos, -INFINITY, NAN, FE_INVALID);
143 testall(atan, -INFINITY, -pi / 2, FE_INEXACT);
145 testall(asin, NAN, NAN, 0);
146 testall(acos, NAN, NAN, 0);
147 testall(atan, NAN, NAN, 0);
245 testall(asin, 1.0, pi / 2, FE_INEXACT);
246 testall(acos, 1.0, 0, 0);
247 testall(atan, 1.0, pi / 4, FE_INEXACT);
248 testall(asin, -1.0, -pi / 2, FE_INEXACT);
249 testall(acos, -1.0, pi, FE_INEXACT);
250 testall(atan, -1.0, -pi / 4, FE_INEXACT);
306 testall(asin, tiny, tiny, FE_INEXACT);
307 testall(acos, tiny, pi / 2, FE_INEXACT);
308 testall(atan, tiny, tiny, FE_INEXACT);
310 testall(asin, -tiny, -tiny, FE_INEXACT);
311 testall(acos, -tiny, pi / 2, FE_INEXACT);
312 testall(atan, -tiny, -tiny, FE_INEXACT);
341 testall(atan, huge, pi / 2, FE_INEXACT);
342 testall(atan, -huge, -pi / 2, FE_INEXACT);