13 int im, iu, ascend, cmplo, cmphi;
16 ascend = (table[n - 1].
x >= table[0].
x);
17 cmplo =
fcmp(x, table[0].x);
18 cmphi =
fcmp(x, table[n - 1].x);
26 *dx = table[il + 1].
x - table[il].
x;
31 *dx = table[il + 1].
x - table[il].
x;
37 *dx = table[il + 1].
x - table[il].
x;
42 *dx = table[il + 1].
x - table[il].
x;
52 if (
fcmp(x, table[im].x) >= 0 == ascend) {
59 *dx = table[il + 1].
x - table[il].
x;
int fcmp(double x1, double x2)
int find_place_in_table(int n, struct float_triplet *table, double x, double *dx, int il)