Lines Matching defs:scale
121 is scale*(1+TMP) without intermediate rounding. The bit representation of
122 scale is in SBITS, however it has a computed exponent that may have
125 adjustment of scale, positive k here means the result may overflow and
130 double_t scale, y;
134 /* k > 0, the exponent of scale might have overflowed by <= 460. */
136 scale = asdouble (sbits);
137 y = 0x1p1009 * (scale + scale * tmp);
142 /* Note: sbits is signed scale. */
143 scale = asdouble (sbits);
144 y = scale + scale * tmp;
154 lo = scale - y + scale * tmp;
178 double_t kd, z, r, r2, scale, tail, tmp;
222 /* 2^(k/N) ~= scale * (1 + tail). */
226 /* This is only a valid scale when -1023*N < k < 1024*N. */
228 /* exp(x) = 2^(k/N) * exp(r) ~= scale + scale * (tail + exp(r) - 1). */
242 scale = asdouble (sbits);
243 /* Note: tmp == 0 or |tmp| > 2^-200 and scale > 2^-739, so there
245 return eval_as_double (scale + scale * tmp);