Lines Matching refs:FLT_EPSILON
10 #include <float.h> // for FLT_EPSILON
81 // FLT_EPSILON == 1.19209290E-07 == 1 / (2 ^ 23)
83 const double FLT_EPSILON_CUBED = FLT_EPSILON * FLT_EPSILON * FLT_EPSILON;
84 const double FLT_EPSILON_HALF = FLT_EPSILON / 2;
85 const double FLT_EPSILON_DOUBLE = FLT_EPSILON * 2;
86 const double FLT_EPSILON_ORDERABLE_ERR = FLT_EPSILON * 16;
87 const double FLT_EPSILON_SQUARED = FLT_EPSILON * FLT_EPSILON;
88 const double FLT_EPSILON_SQRT = sqrt(FLT_EPSILON);
89 const double FLT_EPSILON_INVERSE = 1 / FLT_EPSILON;
92 const double ROUGH_EPSILON = FLT_EPSILON * 64;
93 const double MORE_ROUGH_EPSILON = FLT_EPSILON * 256;
94 const double WAY_ROUGH_EPSILON = FLT_EPSILON * 2048;
101 return fabs(x) < FLT_EPSILON;
113 return fabs(x) < FLT_EPSILON;
150 return x == 0 || fabs(x) < fabs(y * FLT_EPSILON);
184 return x - FLT_EPSILON >= y;
196 return x + FLT_EPSILON > y;
208 return x + FLT_EPSILON <= y;
220 return x - FLT_EPSILON < y;
232 return x > 1 - FLT_EPSILON;
240 return x < FLT_EPSILON;
248 return x < FLT_EPSILON;
260 return x < 1 + FLT_EPSILON;
268 return x > -FLT_EPSILON;
276 return x > -FLT_EPSILON;