Searched refs:encoded_shift (Results 1 – 1 of 1) sorted by relevance
203 int64_t encoded_shift = (shift - 1); in DoubleFromFractionAndShift() local206 encoded_shift -= 1; in DoubleFromFractionAndShift()210 encoded_shift += 1; in DoubleFromFractionAndShift()213 if (encoded_shift < -1022) { in DoubleFromFractionAndShift()214 encoded_shift = -1023; in DoubleFromFractionAndShift()215 } else if (encoded_shift > 1022) { in DoubleFromFractionAndShift()216 encoded_shift = 1023; in DoubleFromFractionAndShift()218 encoded_shift += kExponentBias; in DoubleFromFractionAndShift()220 result.double_as_uint = encoded_sign | (encoded_shift << kExponentShift) | in DoubleFromFractionAndShift()