Lines Matching defs:testall

63 #define	testall(x, y, z, result, exceptmask, excepts)	do {		\
94 testall(0.0, 0.0, 0.0, 0.0, ALL_STD_EXCEPT, 0);
95 testall(1.0, 0.0, 0.0, 0.0, ALL_STD_EXCEPT, 0);
96 testall(0.0, 1.0, 0.0, 0.0, ALL_STD_EXCEPT, 0);
97 testall(0.0, 0.0, 1.0, 1.0, ALL_STD_EXCEPT, 0);
99 testall(-0.0, 0.0, 0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0);
100 testall(0.0, -0.0, 0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0);
101 testall(-0.0, -0.0, 0.0, 0.0, ALL_STD_EXCEPT, 0);
102 testall(0.0, 0.0, -0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0);
103 testall(-0.0, -0.0, -0.0, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0);
105 testall(-0.0, 0.0, -0.0, -0.0, ALL_STD_EXCEPT, 0);
106 testall(0.0, -0.0, -0.0, -0.0, ALL_STD_EXCEPT, 0);
108 testall(-one, one, one, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0);
109 testall(one, -one, one, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0);
110 testall(-one, -one, -one, rd ? -0.0 : 0.0, ALL_STD_EXCEPT, 0);
128 testall(INFINITY, 1.0, -1.0, INFINITY, ALL_STD_EXCEPT, 0);
129 testall(-1.0, INFINITY, 0.0, -INFINITY, ALL_STD_EXCEPT, 0);
130 testall(0.0, 0.0, INFINITY, INFINITY, ALL_STD_EXCEPT, 0);
131 testall(1.0, 1.0, INFINITY, INFINITY, ALL_STD_EXCEPT, 0);
132 testall(1.0, 1.0, -INFINITY, -INFINITY, ALL_STD_EXCEPT, 0);
134 testall(INFINITY, -INFINITY, 1.0, -INFINITY, ALL_STD_EXCEPT, 0);
135 testall(INFINITY, INFINITY, 1.0, INFINITY, ALL_STD_EXCEPT, 0);
136 testall(-INFINITY, -INFINITY, INFINITY, INFINITY, ALL_STD_EXCEPT, 0);
138 testall(0.0, INFINITY, 1.0, NAN, ALL_STD_EXCEPT, FE_INVALID);
139 testall(INFINITY, 0.0, -0.0, NAN, ALL_STD_EXCEPT, FE_INVALID);
142 testall(INFINITY, 0.0, NAN, NAN, ALL_STD_EXCEPT & ~FE_INVALID, 0);
144 testall(INFINITY, INFINITY, -INFINITY, NAN,
146 testall(-INFINITY, INFINITY, INFINITY, NAN,
148 testall(INFINITY, -1.0, INFINITY, NAN,
165 testall(NAN, 0.0, 0.0, NAN, ALL_STD_EXCEPT, 0);
166 testall(1.0, NAN, 1.0, NAN, ALL_STD_EXCEPT, 0);
167 testall(1.0, -1.0, NAN, NAN, ALL_STD_EXCEPT, 0);
168 testall(0.0, 0.0, NAN, NAN, ALL_STD_EXCEPT, 0);
169 testall(NAN, NAN, NAN, NAN, ALL_STD_EXCEPT, 0);
172 testall(M_PI, M_PI, NAN, NAN, ALL_STD_EXCEPT, 0);
197 testall(0x1.0p100, one, 0x1.0p-100, 0x1.0p100,
210 testall(0x1.0p100, -one, -0x1.0p-100, -0x1.0p100,
223 testall(0x1.0p100, one, -0x1.0p-100, 0x1.0p100,
236 testall(-0x1.0p100, one, 0x1.0p-100, -0x1.0p100,
257 testall(-0x1.0p-50, -0x1.0p-50, 0x1.0p100, 0x1.0p100,
270 testall(0x1.0p-50, -0x1.0p-50, -0x1.0p100, -0x1.0p100,
283 testall(0x1.0p-50, 0x1.0p-50, -0x1.0p100, -0x1.0p100,
296 testall(-0x1.0p-50, 0x1.0p-50, 0x1.0p100, 0x1.0p100,