Lines Matching refs:number
211 void DtoaHelper::FillDigits32FixedLength(uint32_t number, int requested_length,
215 buffer[(*length) + i] = '0' + number % TEN;
216 number /= TEN;
221 void DtoaHelper::FillDigits32(uint32_t number, BufferVector<char> buffer, int* length)
225 while (number != 0) {
226 int digit = static_cast<int>(number % TEN);
227 number /= TEN;
244 void DtoaHelper::FillDigits64FixedLength(uint64_t number, [[maybe_unused]] int requested_length,
247 // For efficiency cut the number into 3 uint32_t parts, and print those.
248 uint32_t part2 = static_cast<uint32_t>(number % TEN7POW);
249 number /= TEN7POW;
250 uint32_t part1 = static_cast<uint32_t>(number % TEN7POW);
251 uint32_t part0 = static_cast<uint32_t>(number / TEN7POW);
257 void DtoaHelper::FillDigits64(uint64_t number, BufferVector<char> buffer, int* length)
259 // For efficiency cut the number into 3 uint32_t parts, and print those.
260 uint32_t part2 = static_cast<uint32_t>(number % TEN7POW);
261 number /= TEN7POW;
262 uint32_t part1 = static_cast<uint32_t>(number % TEN7POW);
263 uint32_t part0 = static_cast<uint32_t>(number / TEN7POW);
303 // 'fractionals' is a fixed-point number, with binary point at bit
305 // is a fixed-point number, with binary point at bit 'point'.
307 // One 64 bit number is sufficient.
406 // We have to cut the number.