|
1 Making check in Half |
|
2 /usr/gnu/bin/make check-am |
|
3 make[3]: Nothing to be done for `check-am'. |
|
4 Making check in HalfTest |
|
5 /usr/gnu/bin/make HalfTest |
|
6 mkdir .libs |
|
7 creating HalfTest |
|
8 /usr/gnu/bin/make check-TESTS |
|
9 |
|
10 testing type half: |
|
11 |
|
12 size and alignment |
|
13 sizeof (half) = 2 |
|
14 alignof (half) = 2 |
|
15 ok |
|
16 |
|
17 basic arithmetic operations: |
|
18 f1 = 1, f2 = 2, h1 = 3, h2 = 4 |
|
19 h1 = f1 + f2: 3 |
|
20 h2 += f1: 5 |
|
21 h2 = h1 + h2: 8 |
|
22 h2 += h1: 11 |
|
23 h1 = h2: 11 |
|
24 h2 = -h1: -11 |
|
25 ok |
|
26 |
|
27 float-to-half conversion error for normalized half numbers |
|
28 max error = 0.000487566 |
|
29 max expected error = 0.00048828 |
|
30 ok |
|
31 |
|
32 float-to-half conversion error for denormalized half numbers |
|
33 max error = 2.98023e-08 |
|
34 max expected error = 2.98023e-08 |
|
35 ok |
|
36 |
|
37 rounding normalized numbers to 10-bit precision |
|
38 max error = 0 |
|
39 max expected error = 0 |
|
40 ok |
|
41 |
|
42 rounding denormalized numbers to 10-bit precision |
|
43 max error = 0 |
|
44 max expected error = 0 |
|
45 ok |
|
46 |
|
47 rounding normalized numbers to 9-bit precision |
|
48 max error = 0.000975609 |
|
49 max expected error = 0.00097656 |
|
50 ok |
|
51 |
|
52 rounding denormalized numbers to 9-bit precision |
|
53 max error = 5.96046e-08 |
|
54 max expected error = 5.96046e-08 |
|
55 ok |
|
56 |
|
57 rounding normalized numbers to 1-bit precision |
|
58 max error = 0.249634 |
|
59 max expected error = 0.249999 |
|
60 ok |
|
61 |
|
62 rounding denormalized numbers to 1-bit precision |
|
63 max error = 1.52588e-05 |
|
64 max expected error = 1.52588e-05 |
|
65 ok |
|
66 |
|
67 rounding normalized numbers to 0-bit precision |
|
68 max error = 0.499756 |
|
69 max expected error = 0.499999 |
|
70 ok |
|
71 |
|
72 rounding denormalized numbers to 0-bit precision |
|
73 max error = 3.05176e-05 |
|
74 max expected error = 3.05176e-05 |
|
75 ok |
|
76 |
|
77 specific bit patterns |
|
78 |
|
79 1 0 01111111 00000000000000000000000 0 01111 0000000000 |
|
80 1 0 01111111 00000000000000000000000 |
|
81 |
|
82 1.0009766 0 01111111 00000000010000000000000 0 01111 0000000001 |
|
83 1.0009766 0 01111111 00000000010000000000000 |
|
84 |
|
85 1.0004883 0 01111111 00000000001000000000000 0 01111 0000000000 |
|
86 1 0 01111111 00000000000000000000000 |
|
87 |
|
88 1.0004882 0 01111111 00000000000111111111111 0 01111 0000000000 |
|
89 1 0 01111111 00000000000000000000000 |
|
90 |
|
91 1.0004884 0 01111111 00000000001000000000001 0 01111 0000000001 |
|
92 1.0009766 0 01111111 00000000010000000000000 |
|
93 |
|
94 1.0019531 0 01111111 00000000100000000000000 0 01111 0000000010 |
|
95 1.0019531 0 01111111 00000000100000000000000 |
|
96 |
|
97 1.0014648 0 01111111 00000000011000000000000 0 01111 0000000010 |
|
98 1.0019531 0 01111111 00000000100000000000000 |
|
99 |
|
100 1.0014647 0 01111111 00000000010111111111111 0 01111 0000000001 |
|
101 1.0009766 0 01111111 00000000010000000000000 |
|
102 |
|
103 1.001465 0 01111111 00000000011000000000001 0 01111 0000000010 |
|
104 1.0019531 0 01111111 00000000100000000000000 |
|
105 |
|
106 0.99951172 0 01111110 11111111110000000000000 0 01110 1111111111 |
|
107 0.99951172 0 01111110 11111111110000000000000 |
|
108 |
|
109 0.99975586 0 01111110 11111111111000000000000 0 01111 0000000000 |
|
110 1 0 01111111 00000000000000000000000 |
|
111 |
|
112 0.99975592 0 01111110 11111111111000000000001 0 01111 0000000000 |
|
113 1 0 01111111 00000000000000000000000 |
|
114 |
|
115 0.9997558 0 01111110 11111111110111111111111 0 01110 1111111111 |
|
116 0.99951172 0 01111110 11111111110000000000000 |
|
117 |
|
118 5.9604645e-08 0 01100111 00000000000000000000000 0 00000 0000000001 |
|
119 5.9604645e-08 0 01100111 00000000000000000000000 |
|
120 |
|
121 1.1920929e-07 0 01101000 00000000000000000000000 0 00000 0000000010 |
|
122 1.1920929e-07 0 01101000 00000000000000000000000 |
|
123 |
|
124 8.9406967e-08 0 01100111 10000000000000000000000 0 00000 0000000010 |
|
125 1.1920929e-07 0 01101000 00000000000000000000000 |
|
126 |
|
127 8.9401006e-08 0 01100111 01111111111110010111001 0 00000 0000000001 |
|
128 5.9604645e-08 0 01100111 00000000000000000000000 |
|
129 |
|
130 8.9412929e-08 0 01100111 10000000000001101000111 0 00000 0000000010 |
|
131 1.1920929e-07 0 01101000 00000000000000000000000 |
|
132 |
|
133 0 0 00000000 00000000000000000000000 0 00000 0000000000 |
|
134 0 0 00000000 00000000000000000000000 |
|
135 |
|
136 2.9802322e-08 0 01100110 00000000000000000000000 0 00000 0000000000 |
|
137 0 0 00000000 00000000000000000000000 |
|
138 |
|
139 2.9808284e-08 0 01100110 00000000000011010001110 0 00000 0000000001 |
|
140 5.9604645e-08 0 01100111 00000000000000000000000 |
|
141 |
|
142 2.9796363e-08 0 01100101 11111111111001011100101 0 00000 0000000000 |
|
143 0 0 00000000 00000000000000000000000 |
|
144 |
|
145 6.1035156e-05 0 01110001 00000000000000000000000 0 00001 0000000000 |
|
146 6.1035156e-05 0 01110001 00000000000000000000000 |
|
147 |
|
148 6.1094761e-05 0 01110001 00000000010000000000000 0 00001 0000000001 |
|
149 6.1094761e-05 0 01110001 00000000010000000000000 |
|
150 |
|
151 6.1064959e-05 0 01110001 00000000001000000000000 0 00001 0000000000 |
|
152 6.1035156e-05 0 01110001 00000000000000000000000 |
|
153 |
|
154 6.1064951e-05 0 01110001 00000000000111111111111 0 00001 0000000000 |
|
155 6.1035156e-05 0 01110001 00000000000000000000000 |
|
156 |
|
157 6.1064966e-05 0 01110001 00000000001000000000001 0 00001 0000000001 |
|
158 6.1094761e-05 0 01110001 00000000010000000000000 |
|
159 |
|
160 6.0975552e-05 0 01110000 11111111100000000000000 0 00000 1111111111 |
|
161 6.0975552e-05 0 01110000 11111111100000000000000 |
|
162 |
|
163 6.1005354e-05 0 01110000 11111111110000000000000 0 00001 0000000000 |
|
164 6.1035156e-05 0 01110001 00000000000000000000000 |
|
165 |
|
166 6.1005358e-05 0 01110000 11111111110000000000001 0 00001 0000000000 |
|
167 6.1035156e-05 0 01110001 00000000000000000000000 |
|
168 |
|
169 6.100535e-05 0 01110000 11111111101111111111111 0 00000 1111111111 |
|
170 6.0975552e-05 0 01110000 11111111100000000000000 |
|
171 |
|
172 2 0 10000000 00000000000000000000000 0 10000 0000000000 |
|
173 2 0 10000000 00000000000000000000000 |
|
174 |
|
175 3 0 10000000 10000000000000000000000 0 10000 1000000000 |
|
176 3 0 10000000 10000000000000000000000 |
|
177 |
|
178 10 0 10000010 01000000000000000000000 0 10010 0100000000 |
|
179 10 0 10000010 01000000000000000000000 |
|
180 |
|
181 0.1 0 01111011 10011001100110011001101 0 01011 1001100110 |
|
182 0.099975586 0 01111011 10011001100000000000000 |
|
183 |
|
184 0.2 0 01111100 10011001100110011001101 0 01100 1001100110 |
|
185 0.19995117 0 01111100 10011001100000000000000 |
|
186 |
|
187 0.30000001 0 01111101 00110011001100110011010 0 01101 0011001101 |
|
188 0.30004883 0 01111101 00110011010000000000000 |
|
189 |
|
190 65504 0 10001110 11111111110000000000000 0 11110 1111111111 |
|
191 65504 0 10001110 11111111110000000000000 |
|
192 |
|
193 65536 0 10001111 00000000000000000000000 0 11111 0000000000 |
|
194 Infinity 0 11111111 00000000000000000000000 |
|
195 |
|
196 65520 0 10001110 11111111111000000000000 0 11111 0000000000 |
|
197 Infinity 0 11111111 00000000000000000000000 |
|
198 |
|
199 65519.996 0 10001110 11111111110111111111111 0 11110 1111111111 |
|
200 65504 0 10001110 11111111110000000000000 |
|
201 |
|
202 65520.004 0 10001110 11111111111000000000001 0 11111 0000000000 |
|
203 Infinity 0 11111111 00000000000000000000000 |
|
204 |
|
205 4.290774e+09 0 10011110 11111111100000000000100 0 11111 0000000000 |
|
206 Infinity 0 11111111 00000000000000000000000 |
|
207 |
|
208 3.4028235e+38 0 11111110 11111111111111111111111 0 11111 0000000000 |
|
209 Infinity 0 11111111 00000000000000000000000 |
|
210 |
|
211 Infinity 0 11111111 00000000000000000000000 0 11111 0000000000 |
|
212 Infinity 0 11111111 00000000000000000000000 |
|
213 |
|
214 NaN 0 11111111 11111111111111111111111 0 11111 1111111111 |
|
215 NaN 0 11111111 11111111110000000000000 |
|
216 |
|
217 NaN 0 11111111 10101010101010101010101 0 11111 1010101010 |
|
218 NaN 0 11111111 10101010100000000000000 |
|
219 |
|
220 -1 1 01111111 00000000000000000000000 1 01111 0000000000 |
|
221 -1 1 01111111 00000000000000000000000 |
|
222 |
|
223 -1.0009766 1 01111111 00000000010000000000000 1 01111 0000000001 |
|
224 -1.0009766 1 01111111 00000000010000000000000 |
|
225 |
|
226 -1.0004883 1 01111111 00000000001000000000000 1 01111 0000000000 |
|
227 -1 1 01111111 00000000000000000000000 |
|
228 |
|
229 -1.0004882 1 01111111 00000000000111111111111 1 01111 0000000000 |
|
230 -1 1 01111111 00000000000000000000000 |
|
231 |
|
232 -1.0004884 1 01111111 00000000001000000000001 1 01111 0000000001 |
|
233 -1.0009766 1 01111111 00000000010000000000000 |
|
234 |
|
235 -1.0019531 1 01111111 00000000100000000000000 1 01111 0000000010 |
|
236 -1.0019531 1 01111111 00000000100000000000000 |
|
237 |
|
238 -1.0014648 1 01111111 00000000011000000000000 1 01111 0000000010 |
|
239 -1.0019531 1 01111111 00000000100000000000000 |
|
240 |
|
241 -1.0014647 1 01111111 00000000010111111111111 1 01111 0000000001 |
|
242 -1.0009766 1 01111111 00000000010000000000000 |
|
243 |
|
244 -1.001465 1 01111111 00000000011000000000001 1 01111 0000000010 |
|
245 -1.0019531 1 01111111 00000000100000000000000 |
|
246 |
|
247 -0.99951172 1 01111110 11111111110000000000000 1 01110 1111111111 |
|
248 -0.99951172 1 01111110 11111111110000000000000 |
|
249 |
|
250 -0.99975586 1 01111110 11111111111000000000000 1 01111 0000000000 |
|
251 -1 1 01111111 00000000000000000000000 |
|
252 |
|
253 -0.99975592 1 01111110 11111111111000000000001 1 01111 0000000000 |
|
254 -1 1 01111111 00000000000000000000000 |
|
255 |
|
256 -0.9997558 1 01111110 11111111110111111111111 1 01110 1111111111 |
|
257 -0.99951172 1 01111110 11111111110000000000000 |
|
258 |
|
259 -5.9604645e-08 1 01100111 00000000000000000000000 1 00000 0000000001 |
|
260 -5.9604645e-08 1 01100111 00000000000000000000000 |
|
261 |
|
262 -1.1920929e-07 1 01101000 00000000000000000000000 1 00000 0000000010 |
|
263 -1.1920929e-07 1 01101000 00000000000000000000000 |
|
264 |
|
265 -8.9406967e-08 1 01100111 10000000000000000000000 1 00000 0000000010 |
|
266 -1.1920929e-07 1 01101000 00000000000000000000000 |
|
267 |
|
268 -8.9401006e-08 1 01100111 01111111111110010111001 1 00000 0000000001 |
|
269 -5.9604645e-08 1 01100111 00000000000000000000000 |
|
270 |
|
271 -8.9412929e-08 1 01100111 10000000000001101000111 1 00000 0000000010 |
|
272 -1.1920929e-07 1 01101000 00000000000000000000000 |
|
273 |
|
274 -0 1 00000000 00000000000000000000000 1 00000 0000000000 |
|
275 -0 1 00000000 00000000000000000000000 |
|
276 |
|
277 -2.9802322e-08 1 01100110 00000000000000000000000 1 00000 0000000000 |
|
278 -0 1 00000000 00000000000000000000000 |
|
279 |
|
280 -2.9808284e-08 1 01100110 00000000000011010001110 1 00000 0000000001 |
|
281 -5.9604645e-08 1 01100111 00000000000000000000000 |
|
282 |
|
283 -2.9796363e-08 1 01100101 11111111111001011100101 1 00000 0000000000 |
|
284 -0 1 00000000 00000000000000000000000 |
|
285 |
|
286 -6.1035156e-05 1 01110001 00000000000000000000000 1 00001 0000000000 |
|
287 -6.1035156e-05 1 01110001 00000000000000000000000 |
|
288 |
|
289 -6.1094761e-05 1 01110001 00000000010000000000000 1 00001 0000000001 |
|
290 -6.1094761e-05 1 01110001 00000000010000000000000 |
|
291 |
|
292 -6.1064959e-05 1 01110001 00000000001000000000000 1 00001 0000000000 |
|
293 -6.1035156e-05 1 01110001 00000000000000000000000 |
|
294 |
|
295 -6.1064951e-05 1 01110001 00000000000111111111111 1 00001 0000000000 |
|
296 -6.1035156e-05 1 01110001 00000000000000000000000 |
|
297 |
|
298 -6.1064966e-05 1 01110001 00000000001000000000001 1 00001 0000000001 |
|
299 -6.1094761e-05 1 01110001 00000000010000000000000 |
|
300 |
|
301 -6.0975552e-05 1 01110000 11111111100000000000000 1 00000 1111111111 |
|
302 -6.0975552e-05 1 01110000 11111111100000000000000 |
|
303 |
|
304 -6.1005354e-05 1 01110000 11111111110000000000000 1 00001 0000000000 |
|
305 -6.1035156e-05 1 01110001 00000000000000000000000 |
|
306 |
|
307 -6.1005358e-05 1 01110000 11111111110000000000001 1 00001 0000000000 |
|
308 -6.1035156e-05 1 01110001 00000000000000000000000 |
|
309 |
|
310 -6.100535e-05 1 01110000 11111111101111111111111 1 00000 1111111111 |
|
311 -6.0975552e-05 1 01110000 11111111100000000000000 |
|
312 |
|
313 -2 1 10000000 00000000000000000000000 1 10000 0000000000 |
|
314 -2 1 10000000 00000000000000000000000 |
|
315 |
|
316 -3 1 10000000 10000000000000000000000 1 10000 1000000000 |
|
317 -3 1 10000000 10000000000000000000000 |
|
318 |
|
319 -10 1 10000010 01000000000000000000000 1 10010 0100000000 |
|
320 -10 1 10000010 01000000000000000000000 |
|
321 |
|
322 -0.1 1 01111011 10011001100110011001101 1 01011 1001100110 |
|
323 -0.099975586 1 01111011 10011001100000000000000 |
|
324 |
|
325 -0.2 1 01111100 10011001100110011001101 1 01100 1001100110 |
|
326 -0.19995117 1 01111100 10011001100000000000000 |
|
327 |
|
328 -0.30000001 1 01111101 00110011001100110011010 1 01101 0011001101 |
|
329 -0.30004883 1 01111101 00110011010000000000000 |
|
330 |
|
331 -65504 1 10001110 11111111110000000000000 1 11110 1111111111 |
|
332 -65504 1 10001110 11111111110000000000000 |
|
333 |
|
334 -65536 1 10001111 00000000000000000000000 1 11111 0000000000 |
|
335 -Infinity 1 11111111 00000000000000000000000 |
|
336 |
|
337 -65520 1 10001110 11111111111000000000000 1 11111 0000000000 |
|
338 -Infinity 1 11111111 00000000000000000000000 |
|
339 |
|
340 -65519.996 1 10001110 11111111110111111111111 1 11110 1111111111 |
|
341 -65504 1 10001110 11111111110000000000000 |
|
342 |
|
343 -65520.004 1 10001110 11111111111000000000001 1 11111 0000000000 |
|
344 -Infinity 1 11111111 00000000000000000000000 |
|
345 |
|
346 -4.290774e+09 1 10011110 11111111100000000000100 1 11111 0000000000 |
|
347 -Infinity 1 11111111 00000000000000000000000 |
|
348 |
|
349 -3.4028235e+38 1 11111110 11111111111111111111111 1 11111 0000000000 |
|
350 -Infinity 1 11111111 00000000000000000000000 |
|
351 |
|
352 -Infinity 1 11111111 00000000000000000000000 1 11111 0000000000 |
|
353 -Infinity 1 11111111 00000000000000000000000 |
|
354 |
|
355 -NaN 1 11111111 11111111111111111111111 1 11111 1111111111 |
|
356 -NaN 1 11111111 11111111110000000000000 |
|
357 |
|
358 -NaN 1 11111111 10101010101010101010101 1 11111 1010101010 |
|
359 -NaN 1 11111111 10101010100000000000000 |
|
360 |
|
361 ok |
|
362 |
|
363 classification of bit patterns |
|
364 |
|
365 0 0 00000 0000000000 finite zero |
|
366 1 0 01111 0000000000 finite normalized |
|
367 1.0009766 0 01111 0000000001 finite normalized |
|
368 5.9604645e-08 0 00000 0000000001 finite denormalized |
|
369 1.1920929e-07 0 00000 0000000010 finite denormalized |
|
370 6.1035156e-05 0 00001 0000000000 finite normalized |
|
371 6.1094761e-05 0 00001 0000000001 finite normalized |
|
372 6.0975552e-05 0 00000 1111111111 finite denormalized |
|
373 2 0 10000 0000000000 finite normalized |
|
374 3 0 10000 1000000000 finite normalized |
|
375 0.099975586 0 01011 1001100110 finite normalized |
|
376 0.19995117 0 01100 1001100110 finite normalized |
|
377 0.30004883 0 01101 0011001101 finite normalized |
|
378 65504 0 11110 1111111111 finite normalized |
|
379 Infinity 0 11111 0000000000 infinity |
|
380 NaN 0 11111 1111111111 nan |
|
381 NaN 0 11111 1010101010 nan |
|
382 -1 1 01111 0000000000 finite normalized negative |
|
383 -1.0009766 1 01111 0000000001 finite normalized negative |
|
384 -5.9604645e-08 1 00000 0000000001 finite denormalized negative |
|
385 -1.1920929e-07 1 00000 0000000010 finite denormalized negative |
|
386 -6.1035156e-05 1 00001 0000000000 finite normalized negative |
|
387 -6.1094761e-05 1 00001 0000000001 finite normalized negative |
|
388 -6.0975552e-05 1 00000 1111111111 finite denormalized negative |
|
389 -2 1 10000 0000000000 finite normalized negative |
|
390 -3 1 10000 1000000000 finite normalized negative |
|
391 -0.099975586 1 01011 1001100110 finite normalized negative |
|
392 -0.19995117 1 01100 1001100110 finite normalized negative |
|
393 -0.30004883 1 01101 0011001101 finite normalized negative |
|
394 -65504 1 11110 1111111111 finite normalized negative |
|
395 -Infinity 1 11111 0000000000 infinity negative |
|
396 -NaN 1 11111 1111111111 nan negative |
|
397 -NaN 1 11111 1010101010 nan negative |
|
398 |
|
399 Infinity 0 11111 0000000000 infinity |
|
400 -Infinity 1 11111 0000000000 infinity negative |
|
401 NaN 0 11111 1111111111 nan |
|
402 NaN 0 11111 0111111111 nan |
|
403 ok |
|
404 |
|
405 values in std::numeric_limits<half> |
|
406 min_exponent |
|
407 max_exponent |
|
408 min_exponent10 |
|
409 max_exponent10 |
|
410 ok |
|
411 |
|
412 halfFunction<T> |
|
413 ok |
|
414 |
|
415 PASS: HalfTest |
|
416 ================== |
|
417 All 1 tests passed |
|
418 ================== |
|
419 Making check in Iex |
|
420 make[2]: Nothing to be done for `check'. |
|
421 Making check in IexTest |
|
422 /usr/gnu/bin/make IexTest |
|
423 mkdir .libs |
|
424 creating IexTest |
|
425 /usr/gnu/bin/make check-TESTS |
|
426 See if throw and catch work: |
|
427 1 |
|
428 2 |
|
429 3 |
|
430 4 |
|
431 5 |
|
432 ok |
|
433 |
|
434 PASS: IexTest |
|
435 ================== |
|
436 All 1 tests passed |
|
437 ================== |
|
438 Making check in Imath |
|
439 make[2]: Nothing to be done for `check'. |
|
440 Making check in ImathTest |
|
441 /usr/gnu/bin/make ImathTest |
|
442 mkdir .libs |
|
443 creating ImathTest |
|
444 /usr/gnu/bin/make check-TESTS |
|
445 Testing functions in ImathColor.h & ImathColorAlgo.h |
|
446 rgb2packed -> packed2rgb |
|
447 Imath::Color4 * f |
|
448 Imath::Color4 / f |
|
449 Assignment and comparison |
|
450 ok |
|
451 |
|
452 Testing functions in ImathShear.h |
|
453 Imath::Shear6 constructors |
|
454 Imath::Shear6 * f |
|
455 Imath::Shear6 / f |
|
456 Assignment and comparison |
|
457 ok |
|
458 |
|
459 Testing functions in ImathMatrix.h |
|
460 Imath::Matrix33 shear functions |
|
461 ok |
|
462 |
|
463 Testing functions in ImathRoots.h |
|
464 coefficients: 1 6 11 6 solutions: -3 -2 -1 |
|
465 coefficients: 2 2 -20 16 solutions: -4 1 2 |
|
466 coefficients: 3 -3 1 -1 solutions: 1 |
|
467 coefficients: 2 0 -24 -32 solutions: -2 4 |
|
468 coefficients: 1 0 0 0 solutions: -0 |
|
469 coefficients: 8 -24 24 -8 solutions: 1 |
|
470 coefficients: 0 2 -10 12 solutions: 2 3 |
|
471 coefficients: 0 1 -1 -20 solutions: -4 5 |
|
472 coefficients: 0 3 -12 12 solutions: 2 |
|
473 coefficients: 0 1 0 0 solutions: -0 |
|
474 coefficients: 0 1 0 1 solutions: none |
|
475 coefficients: 0 0 3 -6 solutions: 2 |
|
476 coefficients: 0 0 5 15 solutions: -3 |
|
477 coefficients: 0 0 1 0 solutions: -0 |
|
478 coefficients: 0 0 0 1 solutions: none |
|
479 coefficients: 0 0 0 0 solutions: [-inf, inf] |
|
480 ok |
|
481 |
|
482 Testing functions in ImathFun.h |
|
483 floor |
|
484 ceil |
|
485 trunc |
|
486 divs / mods |
|
487 divp / modp |
|
488 successor, predecessor |
|
489 |
|
490 f 0 |
|
491 sf 1.40129846e-45 |
|
492 pf -1.40129846e-45 |
|
493 spf -0 |
|
494 psf 0 |
|
495 |
|
496 f -0 |
|
497 sf 1.40129846e-45 |
|
498 pf -1.40129846e-45 |
|
499 spf -0 |
|
500 psf 0 |
|
501 |
|
502 f 1 |
|
503 sf 1.00000012 |
|
504 pf 0.99999994 |
|
505 spf 1 |
|
506 psf 1 |
|
507 |
|
508 f -1 |
|
509 sf -0.99999994 |
|
510 pf -1.00000012 |
|
511 spf -1 |
|
512 psf -1 |
|
513 |
|
514 f 16 |
|
515 sf 16.0000019 |
|
516 pf 15.999999 |
|
517 spf 16 |
|
518 psf 16 |
|
519 |
|
520 f 7 |
|
521 sf 7.00000048 |
|
522 pf 6.99999952 |
|
523 spf 7 |
|
524 psf 7 |
|
525 |
|
526 f 0.699999988 |
|
527 sf 0.700000048 |
|
528 pf 0.699999928 |
|
529 spf 0.699999988 |
|
530 psf 0.699999988 |
|
531 |
|
532 f Infinity |
|
533 sf Infinity |
|
534 pf Infinity |
|
535 spf Infinity |
|
536 psf Infinity |
|
537 |
|
538 f NaN |
|
539 sf NaN |
|
540 pf NaN |
|
541 spf NaN |
|
542 psf NaN |
|
543 |
|
544 f 3.40282347e+38 |
|
545 sf Infinity |
|
546 pf 3.40282326e+38 |
|
547 spf 3.40282347e+38 |
|
548 psf Infinity |
|
549 |
|
550 f -3.40282347e+38 |
|
551 sf -3.40282326e+38 |
|
552 pf -Infinity |
|
553 spf -Infinity |
|
554 psf -3.40282347e+38 |
|
555 |
|
556 d 0 |
|
557 sd 4.94065645841246544e-324 |
|
558 pd -4.94065645841246544e-324 |
|
559 spd -9.88131291682493088e-324 |
|
560 psd 0 |
|
561 |
|
562 d -0 |
|
563 sd 4.94065645841246544e-324 |
|
564 pd -4.94065645841246544e-324 |
|
565 spd -9.88131291682493088e-324 |
|
566 psd 0 |
|
567 |
|
568 d 1 |
|
569 sd 1.00000000000000022 |
|
570 pd 0.999999999999999889 |
|
571 spd 1 |
|
572 psd 1 |
|
573 |
|
574 d -1 |
|
575 sd -1.00000000000000022 |
|
576 pd -0.999999999999999889 |
|
577 spd -1 |
|
578 psd -1 |
|
579 |
|
580 d 16 |
|
581 sd 16.0000000000000036 |
|
582 pd 15.9999999999999982 |
|
583 spd 16 |
|
584 psd 16 |
|
585 |
|
586 d 7 |
|
587 sd 7.00000000000000089 |
|
588 pd 6.99999999999999911 |
|
589 spd 7 |
|
590 psd 7 |
|
591 |
|
592 d 0.699999999999999956 |
|
593 sd 0.700000000000000067 |
|
594 pd 0.699999999999999845 |
|
595 spd 0.699999999999999956 |
|
596 psd 0.699999999999999956 |
|
597 |
|
598 d Infinity |
|
599 sd Infinity |
|
600 pd Infinity |
|
601 spd Infinity |
|
602 psd Infinity |
|
603 |
|
604 d NaN |
|
605 sd NaN |
|
606 pd NaN |
|
607 spd NaN |
|
608 psd NaN |
|
609 |
|
610 d 1.79769313486231571e+308 |
|
611 sd Infinity |
|
612 pd 1.79769313486231551e+308 |
|
613 spd 1.79769313486231571e+308 |
|
614 psd Infinity |
|
615 |
|
616 d -1.79769313486231571e+308 |
|
617 sd -Infinity |
|
618 pd -1.79769313486231551e+308 |
|
619 spd -1.79769313486231571e+308 |
|
620 psd -Infinity |
|
621 ok |
|
622 |
|
623 Testing 4x4 and 3x3 matrix inversion: |
|
624 M44f |
|
625 M33f |
|
626 ok |
|
627 |
|
628 Testing functions in ImathFrustum.h |
|
629 perspective 123 |
|
630 planes |
|
631 exceptions 123 |
|
632 orthographic 1 |
|
633 planes |
|
634 passed inequality test |
|
635 passed equality test |
|
636 ok |
|
637 |
|
638 Testing random number generators |
|
639 erand48(), nrand48() |
|
640 Rand32 |
|
641 values |
|
642 differences between successive values |
|
643 range |
|
644 Rand48 |
|
645 values |
|
646 differences between successive values |
|
647 range |
|
648 solidSphereRand() |
|
649 hollowSphereRand() |
|
650 ok |
|
651 |
|
652 Testing extraction of rotation angle from 3x3 matrices |
|
653 Testing extraction of Euler angles from matrices |
|
654 extractEulerXYZ() |
|
655 order = 101 |
|
656 extractEulerZYX() |
|
657 order = 2001 |
|
658 Eulerf::extract() |
|
659 order = 101 |
|
660 order = 1 |
|
661 order = 1101 |
|
662 order = 1001 |
|
663 order = 2101 |
|
664 order = 2001 |
|
665 order = 11 |
|
666 order = 111 |
|
667 order = 1011 |
|
668 order = 1111 |
|
669 order = 2011 |
|
670 order = 2111 |
|
671 order = 2000 |
|
672 order = 2100 |
|
673 order = 1000 |
|
674 order = 1100 |
|
675 order = 0 |
|
676 order = 100 |
|
677 order = 2110 |
|
678 order = 2010 |
|
679 order = 1110 |
|
680 order = 1010 |
|
681 order = 110 |
|
682 order = 10 |
|
683 ok |
|
684 |
|
685 Testing extraction of scale, shear, rotation, translation from matrices |
|
686 Imath::extractSHRT() |
|
687 random angles |
|
688 3x3 |
|
689 4x4 |
|
690 special angles |
|
691 3x3 |
|
692 4x4 |
|
693 ok |
|
694 |
|
695 Testing quaternion rotations |
|
696 exact 90-degree rotations |
|
697 exact zero-degree rotations |
|
698 exact 180-degree rotations |
|
699 other angles |
|
700 random from and to vectors |
|
701 nearly equal from and to vectors |
|
702 nearly opposite from and to vectors |
|
703 ok |
|
704 |
|
705 Testing quaternion spherical linear interpolation |
|
706 combinations of 90-degree rotations around x, y and z |
|
707 random rotations |
|
708 ok |
|
709 |
|
710 Testing line algorithms |
|
711 closest points on two lines |
|
712 non-intersecting, non-parallel lines |
|
713 intersecting, non-parallel lines |
|
714 parallel lines |
|
715 coincident lines |
|
716 random lines |
|
717 line-triangle intersection |
|
718 line-plane intersection inside triangle |
|
719 line-plane intersection outside triangle |
|
720 line parallel to triangle |
|
721 zero-area triangle |
|
722 random lines and triangles |
|
723 ok |
|
724 |
|
725 Testing box algorithms |
|
726 ray-box intersection, random rays |
|
727 box = ((-1 -1 -1) (1 1 1)) |
|
728 ray starts inside box |
|
729 ray starts outside box, intersects |
|
730 ray starts outside box, does not intersect |
|
731 box = ((10 20 30) (1010 21 31)) |
|
732 ray starts inside box |
|
733 ray starts outside box, intersects |
|
734 ray starts outside box, does not intersect |
|
735 box = ((10 20 30) (11 1020 31)) |
|
736 ray starts inside box |
|
737 ray starts outside box, intersects |
|
738 ray starts outside box, does not intersect |
|
739 box = ((10 20 30) (11 21 1030)) |
|
740 ray starts inside box |
|
741 ray starts outside box, intersects |
|
742 ray starts outside box, does not intersect |
|
743 box = ((-1e+10 -2e+10 -3e+10) (5e+15 6e+15 7e+15)) |
|
744 ray starts inside box |
|
745 ray starts outside box, intersects |
|
746 ray starts outside box, does not intersect |
|
747 box = ((1 1 1) (2 1 1)) |
|
748 ray starts inside box |
|
749 ray starts outside box, intersects |
|
750 ray starts outside box, does not intersect |
|
751 box = ((1 1 1) (1 2 1)) |
|
752 ray starts inside box |
|
753 ray starts outside box, intersects |
|
754 ray starts outside box, does not intersect |
|
755 box = ((1 1 1) (1 1 2)) |
|
756 ray starts inside box |
|
757 ray starts outside box, intersects |
|
758 ray starts outside box, does not intersect |
|
759 box = ((1 1 1) (1 2 3)) |
|
760 ray starts inside box |
|
761 ray starts outside box, intersects |
|
762 ray starts outside box, does not intersect |
|
763 box = ((1 1 1) (2 3 1)) |
|
764 ray starts inside box |
|
765 ray starts outside box, intersects |
|
766 ray starts outside box, does not intersect |
|
767 box = ((1 1 1) (2 1 3)) |
|
768 ray starts inside box |
|
769 ray starts outside box, intersects |
|
770 ray starts outside box, does not intersect |
|
771 box = ((-1 -2 1) (-1 -2 1)) |
|
772 single-point box, ray intersects |
|
773 single-point box, ray does not intersect |
|
774 box = ((1 1 1) (1 1 1)) |
|
775 single-point box, ray intersects |
|
776 single-point box, ray does not intersect |
|
777 box = ((0 0 0) (0 0 0)) |
|
778 single-point box, ray intersects |
|
779 single-point box, ray does not intersect |
|
780 empty box, no rays intersect |
|
781 ray-box intersection, nearly axis-parallel rays |
|
782 dir ~ (1 0 0), result = 1 |
|
783 dir ~ (-1 0 0), result = 1 |
|
784 dir ~ (1 0 0), result = 0 |
|
785 dir ~ (-1 0 0), result = 0 |
|
786 dir ~ (0 1 0), result = 1 |
|
787 dir ~ (0 -1 0), result = 1 |
|
788 dir ~ (0 1 0), result = 0 |
|
789 dir ~ (0 -1 0), result = 0 |
|
790 dir ~ (0 0 1), result = 1 |
|
791 dir ~ (0 0 -1), result = 1 |
|
792 dir ~ (0 0 1), result = 0 |
|
793 dir ~ (0 0 -1), result = 0 |
|
794 transform box by matrix |
|
795 ok |
|
796 |
|
797 PASS: ImathTest |
|
798 ================== |
|
799 All 1 tests passed |
|
800 ================== |
|
801 Making check in IlmThread |
|
802 make[2]: Nothing to be done for `check'. |
|
803 Making check in config |
|
804 make[2]: Nothing to be done for `check-am'. |