Graphite Version 3
An experimental 3D geometry processing program
Loading...
Searching...
No Matches
side1.h
1/* Automatically generated code, do not edit */
2/* Generated from source file: side1.pck */
3
4inline int side1_3d_filter( const double* p0, const double* p1, const double* q0) {
5 double p0_0_p1_0 = (p0[0] - p1[0]);
6 double p0_1_p1_1 = (p0[1] - p1[1]);
7 double p0_2_p1_2 = (p0[2] - p1[2]);
8 double r;
9 r = (1 * (((p0_0_p1_0 * p0_0_p1_0) + (p0_1_p1_1 * p0_1_p1_1)) + (p0_2_p1_2 * p0_2_p1_2)));
10 double p1_0_p0_0 = (p1[0] - p0[0]);
11 double q0_0_p0_0 = (q0[0] - p0[0]);
12 double p1_1_p0_1 = (p1[1] - p0[1]);
13 double q0_1_p0_1 = (q0[1] - p0[1]);
14 double p1_2_p0_2 = (p1[2] - p0[2]);
15 double q0_2_p0_2 = (q0[2] - p0[2]);
16 r = (r - (2 * (((p1_0_p0_0 * q0_0_p0_0) + (p1_1_p0_1 * q0_1_p0_1)) + (p1_2_p0_2 * q0_2_p0_2))));
17 int int_tmp_result;
18 double eps;
19 double max1 = fabs(p0_0_p1_0);
20 if( (max1 < fabs(p0_1_p1_1)) )
21 {
22 max1 = fabs(p0_1_p1_1);
23 }
24 if( (max1 < fabs(p0_2_p1_2)) )
25 {
26 max1 = fabs(p0_2_p1_2);
27 }
28 if( (max1 < fabs(p1_0_p0_0)) )
29 {
30 max1 = fabs(p1_0_p0_0);
31 }
32 if( (max1 < fabs(p1_1_p0_1)) )
33 {
34 max1 = fabs(p1_1_p0_1);
35 }
36 if( (max1 < fabs(p1_2_p0_2)) )
37 {
38 max1 = fabs(p1_2_p0_2);
39 }
40 double max2 = fabs(p0_0_p1_0);
41 if( (max2 < fabs(p0_1_p1_1)) )
42 {
43 max2 = fabs(p0_1_p1_1);
44 }
45 if( (max2 < fabs(p0_2_p1_2)) )
46 {
47 max2 = fabs(p0_2_p1_2);
48 }
49 if( (max2 < fabs(q0_0_p0_0)) )
50 {
51 max2 = fabs(q0_0_p0_0);
52 }
53 if( (max2 < fabs(q0_1_p0_1)) )
54 {
55 max2 = fabs(q0_1_p0_1);
56 }
57 if( (max2 < fabs(q0_2_p0_2)) )
58 {
59 max2 = fabs(q0_2_p0_2);
60 }
61 double lower_bound_1;
62 double upper_bound_1;
63 lower_bound_1 = max1;
64 upper_bound_1 = max1;
65 if( (max2 < lower_bound_1) )
66 {
67 lower_bound_1 = max2;
68 }
69 else
70 {
71 if( (max2 > upper_bound_1) )
72 {
73 upper_bound_1 = max2;
74 }
75 }
76 if( (lower_bound_1 < 2.23755023300058943229e-147) )
77 {
78 return FPG_UNCERTAIN_VALUE;
79 }
80 else
81 {
82 if( (upper_bound_1 > 5.59936185544450928309e+101) )
83 {
84 return FPG_UNCERTAIN_VALUE;
85 }
86 eps = (4.44425370757048798480e-15 * (max1 * max2));
87 if( (r > eps) )
88 {
89 int_tmp_result = 1;
90 }
91 else
92 {
93 if( (r < -eps) )
94 {
95 int_tmp_result = -1;
96 }
97 else
98 {
99 return FPG_UNCERTAIN_VALUE;
100 }
101 }
102 }
103 return int_tmp_result;
104}
105
106
107inline int side1_4d_filter( const double* p0, const double* p1, const double* q0) {
108 double p0_0_p1_0 = (p0[0] - p1[0]);
109 double p0_1_p1_1 = (p0[1] - p1[1]);
110 double p0_2_p1_2 = (p0[2] - p1[2]);
111 double p0_3_p1_3 = (p0[3] - p1[3]);
112 double r;
113 r = (1 * ((((p0_0_p1_0 * p0_0_p1_0) + (p0_1_p1_1 * p0_1_p1_1)) + (p0_2_p1_2 * p0_2_p1_2)) + (p0_3_p1_3 * p0_3_p1_3)));
114 double p1_0_p0_0 = (p1[0] - p0[0]);
115 double q0_0_p0_0 = (q0[0] - p0[0]);
116 double p1_1_p0_1 = (p1[1] - p0[1]);
117 double q0_1_p0_1 = (q0[1] - p0[1]);
118 double p1_2_p0_2 = (p1[2] - p0[2]);
119 double q0_2_p0_2 = (q0[2] - p0[2]);
120 double p1_3_p0_3 = (p1[3] - p0[3]);
121 double q0_3_p0_3 = (q0[3] - p0[3]);
122 r = (r - (2 * ((((p1_0_p0_0 * q0_0_p0_0) + (p1_1_p0_1 * q0_1_p0_1)) + (p1_2_p0_2 * q0_2_p0_2)) + (p1_3_p0_3 * q0_3_p0_3))));
123 int int_tmp_result;
124 double eps;
125 double max1 = fabs(p1_0_p0_0);
126 if( (max1 < fabs(p0_0_p1_0)) )
127 {
128 max1 = fabs(p0_0_p1_0);
129 }
130 if( (max1 < fabs(p0_1_p1_1)) )
131 {
132 max1 = fabs(p0_1_p1_1);
133 }
134 if( (max1 < fabs(p0_2_p1_2)) )
135 {
136 max1 = fabs(p0_2_p1_2);
137 }
138 if( (max1 < fabs(p0_3_p1_3)) )
139 {
140 max1 = fabs(p0_3_p1_3);
141 }
142 if( (max1 < fabs(p1_1_p0_1)) )
143 {
144 max1 = fabs(p1_1_p0_1);
145 }
146 if( (max1 < fabs(p1_2_p0_2)) )
147 {
148 max1 = fabs(p1_2_p0_2);
149 }
150 if( (max1 < fabs(p1_3_p0_3)) )
151 {
152 max1 = fabs(p1_3_p0_3);
153 }
154 double max2 = fabs(p0_0_p1_0);
155 if( (max2 < fabs(p0_1_p1_1)) )
156 {
157 max2 = fabs(p0_1_p1_1);
158 }
159 if( (max2 < fabs(p0_2_p1_2)) )
160 {
161 max2 = fabs(p0_2_p1_2);
162 }
163 if( (max2 < fabs(p0_3_p1_3)) )
164 {
165 max2 = fabs(p0_3_p1_3);
166 }
167 if( (max2 < fabs(q0_0_p0_0)) )
168 {
169 max2 = fabs(q0_0_p0_0);
170 }
171 if( (max2 < fabs(q0_1_p0_1)) )
172 {
173 max2 = fabs(q0_1_p0_1);
174 }
175 if( (max2 < fabs(q0_2_p0_2)) )
176 {
177 max2 = fabs(q0_2_p0_2);
178 }
179 if( (max2 < fabs(q0_3_p0_3)) )
180 {
181 max2 = fabs(q0_3_p0_3);
182 }
183 double lower_bound_1;
184 double upper_bound_1;
185 lower_bound_1 = max2;
186 upper_bound_1 = max2;
187 if( (max1 < lower_bound_1) )
188 {
189 lower_bound_1 = max1;
190 }
191 else
192 {
193 if( (max1 > upper_bound_1) )
194 {
195 upper_bound_1 = max1;
196 }
197 }
198 if( (lower_bound_1 < 1.85816790703293534018e-147) )
199 {
200 return FPG_UNCERTAIN_VALUE;
201 }
202 else
203 {
204 if( (upper_bound_1 > 5.59936185544450928309e+101) )
205 {
206 return FPG_UNCERTAIN_VALUE;
207 }
208 eps = (6.44428177279185717888e-15 * (max1 * max2));
209 if( (r > eps) )
210 {
211 int_tmp_result = 1;
212 }
213 else
214 {
215 if( (r < -eps) )
216 {
217 int_tmp_result = -1;
218 }
219 else
220 {
221 return FPG_UNCERTAIN_VALUE;
222 }
223 }
224 }
225 return int_tmp_result;
226}
227
228
229inline int side1_6d_filter( const double* p0, const double* p1, const double* q0) {
230 double p0_0_p1_0 = (p0[0] - p1[0]);
231 double p0_1_p1_1 = (p0[1] - p1[1]);
232 double p0_2_p1_2 = (p0[2] - p1[2]);
233 double p0_3_p1_3 = (p0[3] - p1[3]);
234 double p0_4_p1_4 = (p0[4] - p1[4]);
235 double p0_5_p1_5 = (p0[5] - p1[5]);
236 double r;
237 r = (1 * ((((((p0_0_p1_0 * p0_0_p1_0) + (p0_1_p1_1 * p0_1_p1_1)) + (p0_2_p1_2 * p0_2_p1_2)) + (p0_3_p1_3 * p0_3_p1_3)) + (p0_4_p1_4 * p0_4_p1_4)) + (p0_5_p1_5 * p0_5_p1_5)));
238 double p1_0_p0_0 = (p1[0] - p0[0]);
239 double q0_0_p0_0 = (q0[0] - p0[0]);
240 double p1_1_p0_1 = (p1[1] - p0[1]);
241 double q0_1_p0_1 = (q0[1] - p0[1]);
242 double p1_2_p0_2 = (p1[2] - p0[2]);
243 double q0_2_p0_2 = (q0[2] - p0[2]);
244 double p1_3_p0_3 = (p1[3] - p0[3]);
245 double q0_3_p0_3 = (q0[3] - p0[3]);
246 double p1_4_p0_4 = (p1[4] - p0[4]);
247 double q0_4_p0_4 = (q0[4] - p0[4]);
248 double p1_5_p0_5 = (p1[5] - p0[5]);
249 double q0_5_p0_5 = (q0[5] - p0[5]);
250 r = (r - (2 * ((((((p1_0_p0_0 * q0_0_p0_0) + (p1_1_p0_1 * q0_1_p0_1)) + (p1_2_p0_2 * q0_2_p0_2)) + (p1_3_p0_3 * q0_3_p0_3)) + (p1_4_p0_4 * q0_4_p0_4)) + (p1_5_p0_5 * q0_5_p0_5))));
251 int int_tmp_result;
252 double eps;
253 double max1 = fabs(p0_0_p1_0);
254 if( (max1 < fabs(p0_1_p1_1)) )
255 {
256 max1 = fabs(p0_1_p1_1);
257 }
258 if( (max1 < fabs(p0_2_p1_2)) )
259 {
260 max1 = fabs(p0_2_p1_2);
261 }
262 if( (max1 < fabs(p0_3_p1_3)) )
263 {
264 max1 = fabs(p0_3_p1_3);
265 }
266 if( (max1 < fabs(p0_4_p1_4)) )
267 {
268 max1 = fabs(p0_4_p1_4);
269 }
270 if( (max1 < fabs(p0_5_p1_5)) )
271 {
272 max1 = fabs(p0_5_p1_5);
273 }
274 if( (max1 < fabs(p1_0_p0_0)) )
275 {
276 max1 = fabs(p1_0_p0_0);
277 }
278 if( (max1 < fabs(p1_1_p0_1)) )
279 {
280 max1 = fabs(p1_1_p0_1);
281 }
282 if( (max1 < fabs(p1_2_p0_2)) )
283 {
284 max1 = fabs(p1_2_p0_2);
285 }
286 if( (max1 < fabs(p1_3_p0_3)) )
287 {
288 max1 = fabs(p1_3_p0_3);
289 }
290 if( (max1 < fabs(p1_4_p0_4)) )
291 {
292 max1 = fabs(p1_4_p0_4);
293 }
294 if( (max1 < fabs(p1_5_p0_5)) )
295 {
296 max1 = fabs(p1_5_p0_5);
297 }
298 double max2 = fabs(p0_0_p1_0);
299 if( (max2 < fabs(p0_1_p1_1)) )
300 {
301 max2 = fabs(p0_1_p1_1);
302 }
303 if( (max2 < fabs(p0_2_p1_2)) )
304 {
305 max2 = fabs(p0_2_p1_2);
306 }
307 if( (max2 < fabs(p0_3_p1_3)) )
308 {
309 max2 = fabs(p0_3_p1_3);
310 }
311 if( (max2 < fabs(p0_4_p1_4)) )
312 {
313 max2 = fabs(p0_4_p1_4);
314 }
315 if( (max2 < fabs(p0_5_p1_5)) )
316 {
317 max2 = fabs(p0_5_p1_5);
318 }
319 if( (max2 < fabs(q0_0_p0_0)) )
320 {
321 max2 = fabs(q0_0_p0_0);
322 }
323 if( (max2 < fabs(q0_1_p0_1)) )
324 {
325 max2 = fabs(q0_1_p0_1);
326 }
327 if( (max2 < fabs(q0_2_p0_2)) )
328 {
329 max2 = fabs(q0_2_p0_2);
330 }
331 if( (max2 < fabs(q0_3_p0_3)) )
332 {
333 max2 = fabs(q0_3_p0_3);
334 }
335 if( (max2 < fabs(q0_4_p0_4)) )
336 {
337 max2 = fabs(q0_4_p0_4);
338 }
339 if( (max2 < fabs(q0_5_p0_5)) )
340 {
341 max2 = fabs(q0_5_p0_5);
342 }
343 double lower_bound_1;
344 double upper_bound_1;
345 lower_bound_1 = max1;
346 upper_bound_1 = max1;
347 if( (max2 < lower_bound_1) )
348 {
349 lower_bound_1 = max2;
350 }
351 else
352 {
353 if( (max2 > upper_bound_1) )
354 {
355 upper_bound_1 = max2;
356 }
357 }
358 if( (lower_bound_1 < 1.41511993781011659868e-147) )
359 {
360 return FPG_UNCERTAIN_VALUE;
361 }
362 else
363 {
364 if( (upper_bound_1 > 5.59936185544450928309e+101) )
365 {
366 return FPG_UNCERTAIN_VALUE;
367 }
368 eps = (1.11111223981318615596e-14 * (max1 * max2));
369 if( (r > eps) )
370 {
371 int_tmp_result = 1;
372 }
373 else
374 {
375 if( (r < -eps) )
376 {
377 int_tmp_result = -1;
378 }
379 else
380 {
381 return FPG_UNCERTAIN_VALUE;
382 }
383 }
384 }
385 return int_tmp_result;
386}
387
388
389inline int side1_7d_filter( const double* p0, const double* p1, const double* q0) {
390 double p0_0_p1_0 = (p0[0] - p1[0]);
391 double p0_1_p1_1 = (p0[1] - p1[1]);
392 double p0_2_p1_2 = (p0[2] - p1[2]);
393 double p0_3_p1_3 = (p0[3] - p1[3]);
394 double p0_4_p1_4 = (p0[4] - p1[4]);
395 double p0_5_p1_5 = (p0[5] - p1[5]);
396 double p0_6_p1_6 = (p0[6] - p1[6]);
397 double r;
398 r = (1 * (((((((p0_0_p1_0 * p0_0_p1_0) + (p0_1_p1_1 * p0_1_p1_1)) + (p0_2_p1_2 * p0_2_p1_2)) + (p0_3_p1_3 * p0_3_p1_3)) + (p0_4_p1_4 * p0_4_p1_4)) + (p0_5_p1_5 * p0_5_p1_5)) + (p0_6_p1_6 * p0_6_p1_6)));
399 double p1_0_p0_0 = (p1[0] - p0[0]);
400 double q0_0_p0_0 = (q0[0] - p0[0]);
401 double p1_1_p0_1 = (p1[1] - p0[1]);
402 double q0_1_p0_1 = (q0[1] - p0[1]);
403 double p1_2_p0_2 = (p1[2] - p0[2]);
404 double q0_2_p0_2 = (q0[2] - p0[2]);
405 double p1_3_p0_3 = (p1[3] - p0[3]);
406 double q0_3_p0_3 = (q0[3] - p0[3]);
407 double p1_4_p0_4 = (p1[4] - p0[4]);
408 double q0_4_p0_4 = (q0[4] - p0[4]);
409 double p1_5_p0_5 = (p1[5] - p0[5]);
410 double q0_5_p0_5 = (q0[5] - p0[5]);
411 double p1_6_p0_6 = (p1[6] - p0[6]);
412 double q0_6_p0_6 = (q0[6] - p0[6]);
413 r = (r - (2 * (((((((p1_0_p0_0 * q0_0_p0_0) + (p1_1_p0_1 * q0_1_p0_1)) + (p1_2_p0_2 * q0_2_p0_2)) + (p1_3_p0_3 * q0_3_p0_3)) + (p1_4_p0_4 * q0_4_p0_4)) + (p1_5_p0_5 * q0_5_p0_5)) + (p1_6_p0_6 * q0_6_p0_6))));
414 int int_tmp_result;
415 double eps;
416 double max1 = fabs(p0_0_p1_0);
417 if( (max1 < fabs(p0_1_p1_1)) )
418 {
419 max1 = fabs(p0_1_p1_1);
420 }
421 if( (max1 < fabs(p0_2_p1_2)) )
422 {
423 max1 = fabs(p0_2_p1_2);
424 }
425 if( (max1 < fabs(p0_3_p1_3)) )
426 {
427 max1 = fabs(p0_3_p1_3);
428 }
429 if( (max1 < fabs(p0_4_p1_4)) )
430 {
431 max1 = fabs(p0_4_p1_4);
432 }
433 if( (max1 < fabs(p0_5_p1_5)) )
434 {
435 max1 = fabs(p0_5_p1_5);
436 }
437 if( (max1 < fabs(p0_6_p1_6)) )
438 {
439 max1 = fabs(p0_6_p1_6);
440 }
441 if( (max1 < fabs(p1_0_p0_0)) )
442 {
443 max1 = fabs(p1_0_p0_0);
444 }
445 if( (max1 < fabs(p1_1_p0_1)) )
446 {
447 max1 = fabs(p1_1_p0_1);
448 }
449 if( (max1 < fabs(p1_2_p0_2)) )
450 {
451 max1 = fabs(p1_2_p0_2);
452 }
453 if( (max1 < fabs(p1_3_p0_3)) )
454 {
455 max1 = fabs(p1_3_p0_3);
456 }
457 if( (max1 < fabs(p1_4_p0_4)) )
458 {
459 max1 = fabs(p1_4_p0_4);
460 }
461 if( (max1 < fabs(p1_5_p0_5)) )
462 {
463 max1 = fabs(p1_5_p0_5);
464 }
465 if( (max1 < fabs(p1_6_p0_6)) )
466 {
467 max1 = fabs(p1_6_p0_6);
468 }
469 double max2 = fabs(p0_0_p1_0);
470 if( (max2 < fabs(p0_1_p1_1)) )
471 {
472 max2 = fabs(p0_1_p1_1);
473 }
474 if( (max2 < fabs(p0_2_p1_2)) )
475 {
476 max2 = fabs(p0_2_p1_2);
477 }
478 if( (max2 < fabs(p0_3_p1_3)) )
479 {
480 max2 = fabs(p0_3_p1_3);
481 }
482 if( (max2 < fabs(p0_4_p1_4)) )
483 {
484 max2 = fabs(p0_4_p1_4);
485 }
486 if( (max2 < fabs(p0_5_p1_5)) )
487 {
488 max2 = fabs(p0_5_p1_5);
489 }
490 if( (max2 < fabs(p0_6_p1_6)) )
491 {
492 max2 = fabs(p0_6_p1_6);
493 }
494 if( (max2 < fabs(q0_0_p0_0)) )
495 {
496 max2 = fabs(q0_0_p0_0);
497 }
498 if( (max2 < fabs(q0_1_p0_1)) )
499 {
500 max2 = fabs(q0_1_p0_1);
501 }
502 if( (max2 < fabs(q0_2_p0_2)) )
503 {
504 max2 = fabs(q0_2_p0_2);
505 }
506 if( (max2 < fabs(q0_3_p0_3)) )
507 {
508 max2 = fabs(q0_3_p0_3);
509 }
510 if( (max2 < fabs(q0_4_p0_4)) )
511 {
512 max2 = fabs(q0_4_p0_4);
513 }
514 if( (max2 < fabs(q0_5_p0_5)) )
515 {
516 max2 = fabs(q0_5_p0_5);
517 }
518 if( (max2 < fabs(q0_6_p0_6)) )
519 {
520 max2 = fabs(q0_6_p0_6);
521 }
522 double lower_bound_1;
523 double upper_bound_1;
524 lower_bound_1 = max1;
525 upper_bound_1 = max1;
526 if( (max2 < lower_bound_1) )
527 {
528 lower_bound_1 = max2;
529 }
530 else
531 {
532 if( (max2 > upper_bound_1) )
533 {
534 upper_bound_1 = max2;
535 }
536 }
537 if( (lower_bound_1 < 1.27080861580266953580e-147) )
538 {
539 return FPG_UNCERTAIN_VALUE;
540 }
541 else
542 {
543 if( (upper_bound_1 > 5.59936185544450928309e+101) )
544 {
545 return FPG_UNCERTAIN_VALUE;
546 }
547 eps = (1.37779349582504943796e-14 * (max1 * max2));
548 if( (r > eps) )
549 {
550 int_tmp_result = 1;
551 }
552 else
553 {
554 if( (r < -eps) )
555 {
556 int_tmp_result = -1;
557 }
558 else
559 {
560 return FPG_UNCERTAIN_VALUE;
561 }
562 }
563 }
564 return int_tmp_result;
565}
566
567
568inline int side1_8d_filter( const double* p0, const double* p1, const double* q0) {
569 double p0_0_p1_0 = (p0[0] - p1[0]);
570 double p0_1_p1_1 = (p0[1] - p1[1]);
571 double p0_2_p1_2 = (p0[2] - p1[2]);
572 double p0_3_p1_3 = (p0[3] - p1[3]);
573 double p0_4_p1_4 = (p0[4] - p1[4]);
574 double p0_5_p1_5 = (p0[5] - p1[5]);
575 double p0_6_p1_6 = (p0[6] - p1[6]);
576 double p0_7_p1_7 = (p0[7] - p1[7]);
577 double r;
578 r = (1 * ((((((((p0_0_p1_0 * p0_0_p1_0) + (p0_1_p1_1 * p0_1_p1_1)) + (p0_2_p1_2 * p0_2_p1_2)) + (p0_3_p1_3 * p0_3_p1_3)) + (p0_4_p1_4 * p0_4_p1_4)) + (p0_5_p1_5 * p0_5_p1_5)) + (p0_6_p1_6 * p0_6_p1_6)) + (p0_7_p1_7 * p0_7_p1_7)));
579 double p1_0_p0_0 = (p1[0] - p0[0]);
580 double q0_0_p0_0 = (q0[0] - p0[0]);
581 double p1_1_p0_1 = (p1[1] - p0[1]);
582 double q0_1_p0_1 = (q0[1] - p0[1]);
583 double p1_2_p0_2 = (p1[2] - p0[2]);
584 double q0_2_p0_2 = (q0[2] - p0[2]);
585 double p1_3_p0_3 = (p1[3] - p0[3]);
586 double q0_3_p0_3 = (q0[3] - p0[3]);
587 double p1_4_p0_4 = (p1[4] - p0[4]);
588 double q0_4_p0_4 = (q0[4] - p0[4]);
589 double p1_5_p0_5 = (p1[5] - p0[5]);
590 double q0_5_p0_5 = (q0[5] - p0[5]);
591 double p1_6_p0_6 = (p1[6] - p0[6]);
592 double q0_6_p0_6 = (q0[6] - p0[6]);
593 double p1_7_p0_7 = (p1[7] - p0[7]);
594 double q0_7_p0_7 = (q0[7] - p0[7]);
595 r = (r - (2 * ((((((((p1_0_p0_0 * q0_0_p0_0) + (p1_1_p0_1 * q0_1_p0_1)) + (p1_2_p0_2 * q0_2_p0_2)) + (p1_3_p0_3 * q0_3_p0_3)) + (p1_4_p0_4 * q0_4_p0_4)) + (p1_5_p0_5 * q0_5_p0_5)) + (p1_6_p0_6 * q0_6_p0_6)) + (p1_7_p0_7 * q0_7_p0_7))));
596 int int_tmp_result;
597 double eps;
598 double max1 = fabs(p0_1_p1_1);
599 if( (max1 < fabs(p0_2_p1_2)) )
600 {
601 max1 = fabs(p0_2_p1_2);
602 }
603 if( (max1 < fabs(p1_0_p0_0)) )
604 {
605 max1 = fabs(p1_0_p0_0);
606 }
607 if( (max1 < fabs(p0_0_p1_0)) )
608 {
609 max1 = fabs(p0_0_p1_0);
610 }
611 if( (max1 < fabs(p0_3_p1_3)) )
612 {
613 max1 = fabs(p0_3_p1_3);
614 }
615 if( (max1 < fabs(p0_4_p1_4)) )
616 {
617 max1 = fabs(p0_4_p1_4);
618 }
619 if( (max1 < fabs(p0_5_p1_5)) )
620 {
621 max1 = fabs(p0_5_p1_5);
622 }
623 if( (max1 < fabs(p0_6_p1_6)) )
624 {
625 max1 = fabs(p0_6_p1_6);
626 }
627 if( (max1 < fabs(p0_7_p1_7)) )
628 {
629 max1 = fabs(p0_7_p1_7);
630 }
631 if( (max1 < fabs(p1_1_p0_1)) )
632 {
633 max1 = fabs(p1_1_p0_1);
634 }
635 if( (max1 < fabs(p1_2_p0_2)) )
636 {
637 max1 = fabs(p1_2_p0_2);
638 }
639 if( (max1 < fabs(p1_3_p0_3)) )
640 {
641 max1 = fabs(p1_3_p0_3);
642 }
643 if( (max1 < fabs(p1_4_p0_4)) )
644 {
645 max1 = fabs(p1_4_p0_4);
646 }
647 if( (max1 < fabs(p1_5_p0_5)) )
648 {
649 max1 = fabs(p1_5_p0_5);
650 }
651 if( (max1 < fabs(p1_6_p0_6)) )
652 {
653 max1 = fabs(p1_6_p0_6);
654 }
655 if( (max1 < fabs(p1_7_p0_7)) )
656 {
657 max1 = fabs(p1_7_p0_7);
658 }
659 double max2 = fabs(p0_1_p1_1);
660 if( (max2 < fabs(p0_2_p1_2)) )
661 {
662 max2 = fabs(p0_2_p1_2);
663 }
664 if( (max2 < fabs(p0_0_p1_0)) )
665 {
666 max2 = fabs(p0_0_p1_0);
667 }
668 if( (max2 < fabs(p0_3_p1_3)) )
669 {
670 max2 = fabs(p0_3_p1_3);
671 }
672 if( (max2 < fabs(p0_4_p1_4)) )
673 {
674 max2 = fabs(p0_4_p1_4);
675 }
676 if( (max2 < fabs(p0_5_p1_5)) )
677 {
678 max2 = fabs(p0_5_p1_5);
679 }
680 if( (max2 < fabs(p0_6_p1_6)) )
681 {
682 max2 = fabs(p0_6_p1_6);
683 }
684 if( (max2 < fabs(p0_7_p1_7)) )
685 {
686 max2 = fabs(p0_7_p1_7);
687 }
688 if( (max2 < fabs(q0_0_p0_0)) )
689 {
690 max2 = fabs(q0_0_p0_0);
691 }
692 if( (max2 < fabs(q0_1_p0_1)) )
693 {
694 max2 = fabs(q0_1_p0_1);
695 }
696 if( (max2 < fabs(q0_2_p0_2)) )
697 {
698 max2 = fabs(q0_2_p0_2);
699 }
700 if( (max2 < fabs(q0_3_p0_3)) )
701 {
702 max2 = fabs(q0_3_p0_3);
703 }
704 if( (max2 < fabs(q0_4_p0_4)) )
705 {
706 max2 = fabs(q0_4_p0_4);
707 }
708 if( (max2 < fabs(q0_5_p0_5)) )
709 {
710 max2 = fabs(q0_5_p0_5);
711 }
712 if( (max2 < fabs(q0_6_p0_6)) )
713 {
714 max2 = fabs(q0_6_p0_6);
715 }
716 if( (max2 < fabs(q0_7_p0_7)) )
717 {
718 max2 = fabs(q0_7_p0_7);
719 }
720 double lower_bound_1;
721 double upper_bound_1;
722 lower_bound_1 = max1;
723 upper_bound_1 = max1;
724 if( (max2 < lower_bound_1) )
725 {
726 lower_bound_1 = max2;
727 }
728 else
729 {
730 if( (max2 > upper_bound_1) )
731 {
732 upper_bound_1 = max2;
733 }
734 }
735 if( (lower_bound_1 < 1.15542931091530087067e-147) )
736 {
737 return FPG_UNCERTAIN_VALUE;
738 }
739 else
740 {
741 if( (upper_bound_1 > 5.59936185544450928309e+101) )
742 {
743 return FPG_UNCERTAIN_VALUE;
744 }
745 eps = (1.66670090166682227006e-14 * (max1 * max2));
746 if( (r > eps) )
747 {
748 int_tmp_result = 1;
749 }
750 else
751 {
752 if( (r < -eps) )
753 {
754 int_tmp_result = -1;
755 }
756 else
757 {
758 return FPG_UNCERTAIN_VALUE;
759 }
760 }
761 }
762 return int_tmp_result;
763}