Lines Matching refs:exponent
193 // point at bit (-exponent).
195 // -128 <= exponent <= 0.
196 // 0 <= fractionals * 2^exponent < 1
203 static void FillFractionals(uint64_t fractionals, int exponent,
206 DCHECK(-128 <= exponent && exponent <= 0);
208 // (-exponent). Inside the function the non-converted remainder of fractionals
210 if (-exponent <= 64) {
213 int point = -exponent;
238 DCHECK(64 < -exponent && -exponent <= 128);
240 fractionals128.Shift(-exponent - 64);
282 int exponent = Double(v).Exponent();
283 // v = significand * 2^exponent (with significand a 53bit integer).
284 // If the exponent is larger than 20 (i.e. we may have a 73bit number) then we
288 if (exponent > 20) return false;
294 if (exponent + kDoubleSignificandSize > 64) {
295 // The exponent must be > 11.
297 // We know that v = significand * 2^exponent.
298 // And the exponent > 11.
309 // Let v = f * 2^e with f == significand and e == exponent.
318 if (exponent > divisor_power) {
320 dividend <<= exponent - divisor_power;
324 divisor <<= divisor_power - exponent;
326 remainder = (dividend % divisor) << exponent;
331 } else if (exponent >= 0) {
332 // 0 <= exponent <= 11
333 significand <<= exponent;
336 } else if (exponent > -kDoubleSignificandSize) {
338 uint64_t integrals = significand >> -exponent;
339 uint64_t fractionals = significand - (integrals << -exponent);
346 FillFractionals(fractionals, exponent, fractional_count, buffer, length,
348 } else if (exponent < -128) {
357 FillFractionals(significand, exponent, fractional_count, buffer, length,