Lines Matching refs:fabs
43 if(fabs(b) > max_val) in relative_difference()
45 if(fabs(a) > max_val) in relative_difference()
50 else if(fabs(a) > max_val) in relative_difference()
58 a = fabs(a); in relative_difference()
59 b = fabs(b); in relative_difference()
69 return (std::max)(fabs((a - b) / a), fabs((a - b) / b)); in relative_difference()
92 if(fabs(b) > max_val) in relative_difference()
94 if(fabs(a) > max_val) in relative_difference()
99 else if(fabs(a) > max_val) in relative_difference()
107 a = fabs(a); in relative_difference()
108 b = fabs(b); in relative_difference()
118 return (std::max)(fabs((a - b) / a), fabs((a - b) / b)); in relative_difference()