Lines Matching refs:orange
169 int orange = omax - omin, nrange = nmax - nmin;
171 if (orange == 0)
173 return rint((((double)nrange * ((double)val - (double)omin)) + ((double)orange / 2.0)) / ((double)orange + (double)nmin));
180 int orange = omax - omin, nrange = nmax - nmin;
182 if (orange == 0)
184 return rint((((double)nrange * ((double)val - (double)omin)) + ((double)orange / 2.0)) / (double)orange + (double)nmin);