Lines Matching refs:factor
85 calc_defect (double x, int constant, int factor)
87 double y0 = (constant - (int) floor ((x * factor * 64.))) / 16384.;
146 int factor, constant;
149 factor = (1./x_low- 1./x_high) / step * 256. + 0.5;
150 if (factor == 256)
151 factor = 255;
152 factors[i] = factor;
154 x_med = sqrt (256./factor);
157 low_defect = 1. / x_low + x_low * factor / 256.;
158 high_defect = 1. / x_high + x_high * factor / 256.;
159 med_defect = 1. / x_med + x_med * factor / 256.;
166 calc_defect (x_low, constant, factor);
167 calc_defect (x_med, constant, factor);
168 calc_defect (x_high, constant, factor);