4inline int side3_2dlifted_2d_filter(
const double* p0,
const double* p1,
const double* p2,
const double* p3,
double h0,
double h1,
double h2,
double h3) {
12 a21 = (p2[0] - p0[0]);
14 a22 = (p2[1] - p0[1]);
18 a31 = (p3[0] - p0[0]);
20 a32 = (p3[1] - p0[1]);
24 Delta1 = ((a21 * a32) - (a22 * a31));
26 Delta2 = ((a11 * a32) - (a12 * a31));
28 Delta3 = ((a11 * a22) - (a12 * a21));
30 r = (((Delta1 * a13) - (Delta2 * a23)) + (Delta3 * a33));
32 double max1 = fabs(a11);
33 if( (max1 < fabs(a12)) )
37 double max2 = fabs(a21);
38 if( (max2 < fabs(a22)) )
48 if( (max2 < lower_bound_1) )
54 if( (max2 > upper_bound_1) )
59 if( (lower_bound_1 < 5.00368081960964635413e-147) )
61 return FPG_UNCERTAIN_VALUE;
65 if( (upper_bound_1 > 5.59936185544450928309e+101) )
67 return FPG_UNCERTAIN_VALUE;
69 eps = (8.88720573725927976811e-16 * (max1 * max2));
82 return FPG_UNCERTAIN_VALUE;
86 Delta3_sign = int_tmp_result;
87 int int_tmp_result_FFWKCAA;
93 double max4 = fabs(a13);
94 if( (max4 < fabs(a23)) )
98 if( (max4 < fabs(a33)) )
103 if( (max5 < fabs(a31)) )
107 if( (max5 < fabs(a32)) )
111 lower_bound_1 = max3;
112 upper_bound_1 = max3;
113 if( (max5 < lower_bound_1) )
115 lower_bound_1 = max5;
119 if( (max5 > upper_bound_1) )
121 upper_bound_1 = max5;
124 if( (max4 < lower_bound_1) )
126 lower_bound_1 = max4;
130 if( (max4 > upper_bound_1) )
132 upper_bound_1 = max4;
135 if( (lower_bound_1 < 1.63288018496748314939e-98) )
137 return FPG_UNCERTAIN_VALUE;
141 if( (upper_bound_1 > 5.59936185544450928309e+101) )
143 return FPG_UNCERTAIN_VALUE;
145 eps = (5.11071278299732992696e-15 * ((max3 * max5) * max4));
148 int_tmp_result_FFWKCAA = 1;
154 int_tmp_result_FFWKCAA = -1;
158 return FPG_UNCERTAIN_VALUE;
162 return (Delta3_sign * int_tmp_result_FFWKCAA);