Good day. I see the following code which looks for maximum and minimum and I want to discuss it
....
// process two at a time.
for (i=l+2; i<= u; i+=2) {
lmin = the_data[ind[i-1]] [c];
lmax = the_data[ind[i] ] [c];
if (lmin > lmax) {
swap(lmin,lmax);
// float t = lmin;
// lmin = lmax;
// lmax = t;
}
if (smin > lmin) smin = lmin;
if (smax <lmax) smax = lmax;
}
...