Lines Matching defs:scale
23 is scale*(1+TMP) without intermediate rounding. The bit representation of
24 scale is in SBITS, however it has a computed exponent that may have
27 adjustment of scale, positive k here means the result may overflow and
31 double_t scale, y;
34 /* k > 0, the exponent of scale might have overflowed by 1. */
36 scale = asdouble(sbits);
37 y = 2 * (scale + scale * tmp);
42 scale = asdouble(sbits);
43 y = scale + scale * tmp;
50 lo = scale - y + scale * tmp;
74 double_t kd, r, r2, scale, tail, tmp;
103 /* 2^(k/N) ~= scale * (1 + tail). */
107 /* This is only a valid scale when -1023*N < k < 1024*N. */
109 /* exp2(x) = 2^(k/N) * 2^r ~= scale + scale * (tail + 2^r - 1). */
117 scale = asdouble(sbits);
118 /* Note: tmp == 0 or |tmp| > 2^-65 and scale > 2^-928, so there
120 return eval_as_double(scale + scale * tmp);