Lines Matching refs:uint32_t
86 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI inline uint32_t __pow5Factor(uint32_t __value) { in __pow5Factor()
87 uint32_t __count = 0; in __pow5Factor()
90 const uint32_t __q = __value / 5; in __pow5Factor()
91 const uint32_t __r = __value % 5; in __pow5Factor()
102 …LIBCPP_HIDE_FROM_ABI inline bool __multipleOfPowerOf5(const uint32_t __value, const uint32_t __p) { in __multipleOfPowerOf5()
107 …LIBCPP_HIDE_FROM_ABI inline bool __multipleOfPowerOf2(const uint32_t __value, const uint32_t __p) { in __multipleOfPowerOf2()
114 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI inline uint32_t __mulShift(const uint32_t __m, const uint64_t _… in __mulShift()
119 const uint32_t __factorLo = static_cast<uint32_t>(__factor); in __mulShift()
120 const uint32_t __factorHi = static_cast<uint32_t>(__factor >> 32); in __mulShift()
127 const uint32_t __bits0Hi = static_cast<uint32_t>(__bits0 >> 32); in __mulShift()
128 uint32_t __bits1Lo = static_cast<uint32_t>(__bits1); in __mulShift()
129 uint32_t __bits1Hi = static_cast<uint32_t>(__bits1 >> 32); in __mulShift()
138 return static_cast<uint32_t>(__shiftedSum); in __mulShift()
142 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI inline uint32_t __mulPow5InvDivPow2(const uint32_t __m, const u… in __mulPow5InvDivPow2()
146 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI inline uint32_t __mulPow5divPow2(const uint32_t __m, const uint… in __mulPow5divPow2()
152 uint32_t __mantissa;
156 …P_HIDE_FROM_ABI inline __floating_decimal_32 __f2d(const uint32_t __ieeeMantissa, const uint32_t _… in __f2d()
158 uint32_t __m2; in __f2d()
171 const uint32_t __mv = 4 * __m2; in __f2d()
172 const uint32_t __mp = 4 * __m2 + 2; in __f2d()
174 const uint32_t __mmShift = __ieeeMantissa != 0 || __ieeeExponent <= 1; in __f2d()
175 const uint32_t __mm = 4 * __m2 - 1 - __mmShift; in __f2d()
178 uint32_t __vr, __vp, __vm; in __f2d()
184 const uint32_t __q = __log10Pow2(__e2); in __f2d()
211 const uint32_t __q = __log10Pow5(-__e2); in __f2d()
216 __vr = __mulPow5divPow2(__mv, static_cast<uint32_t>(__i), __j); in __f2d()
217 __vp = __mulPow5divPow2(__mp, static_cast<uint32_t>(__i), __j); in __f2d()
218 __vm = __mulPow5divPow2(__mm, static_cast<uint32_t>(__i), __j); in __f2d()
221 …__lastRemovedDigit = static_cast<uint8_t>(__mulPow5divPow2(__mv, static_cast<uint32_t>(__i + 1), _… in __f2d()
241 uint32_t _Output; in __f2d()
296 const uint32_t _Mantissa2, const int32_t _Exponent2) { in _Large_integer_to_chars()
326 constexpr uint32_t _Data_size = 4; in _Large_integer_to_chars()
327 uint32_t _Data[_Data_size]{}; in _Large_integer_to_chars()
330 uint32_t _Maxidx = ((24 + static_cast<uint32_t>(_Exponent2) + 31) / 32) - 1; in _Large_integer_to_chars()
333 const uint32_t _Bit_shift = static_cast<uint32_t>(_Exponent2) % 32; in _Large_integer_to_chars()
343 uint32_t _Blocks[4]; in _Large_integer_to_chars()
355 const uint32_t _Most_significant_elem = _Data[_Maxidx]; in _Large_integer_to_chars()
356 const uint32_t _Initial_remainder = _Most_significant_elem % 1000000000; in _Large_integer_to_chars()
357 const uint32_t _Initial_quotient = _Most_significant_elem / 1000000000; in _Large_integer_to_chars()
362 uint32_t _Idx = _Maxidx; in _Large_integer_to_chars()
370 const uint32_t _Quotient = static_cast<uint32_t>(__div1e9(_Remainder)); in _Large_integer_to_chars()
374 _Remainder = static_cast<uint32_t>(_Remainder) - 1000000000u * _Quotient; in _Large_integer_to_chars()
380 _Blocks[_Filled_blocks++] = static_cast<uint32_t>(_Remainder); in _Large_integer_to_chars()
392 for (uint32_t _Idx = 1; _Idx < _Data_size; ++_Idx) { in _Large_integer_to_chars()
396 const uint32_t _Data_olength = _Data[0] >= 1000000000 ? 10 : __decimalLength9(_Data[0]); in _Large_integer_to_chars()
397 const uint32_t _Total_fixed_length = _Data_olength + 9 * _Filled_blocks; in _Large_integer_to_chars()
420 chars_format _Fmt, const uint32_t __ieeeMantissa, const uint32_t __ieeeExponent) { in __to_chars()
422 uint32_t _Output = __v.__mantissa; in __to_chars()
424 const uint32_t __olength = __decimalLength9(_Output); in __to_chars()
483 uint32_t _Total_fixed_length; in __to_chars()
485 _Total_fixed_length = static_cast<uint32_t>(_Whole_digits); in __to_chars()
498 _Total_fixed_length = static_cast<uint32_t>(2 - _Ryu_exponent); in __to_chars()
533 static constexpr uint32_t _Max_shifted_mantissa[11] = { in __to_chars()
538 const uint32_t _Shifted_mantissa = __v.__mantissa >> _Trailing_zero_bits; in __to_chars()
543 …const uint32_t _Mantissa2 = __ieeeMantissa | (1u << __FLOAT_MANTISSA_BITS); // restore implicit bit in __to_chars()
561 const uint32_t __c = _Output - 10000 * (_Output / 10000); in __to_chars()
563 const uint32_t __c = _Output % 10000; in __to_chars()
566 const uint32_t __c0 = (__c % 100) << 1; in __to_chars()
567 const uint32_t __c1 = (__c / 100) << 1; in __to_chars()
572 const uint32_t __c = (_Output % 100) << 1; in __to_chars()
577 const uint32_t __c = _Output << 1; in __to_chars()
602 const uint32_t _Total_scientific_length = in __to_chars()
610 uint32_t __i = 0; in __to_chars()
613 const uint32_t __c = _Output - 10000 * (_Output / 10000); in __to_chars()
615 const uint32_t __c = _Output % 10000; in __to_chars()
618 const uint32_t __c0 = (__c % 100) << 1; in __to_chars()
619 const uint32_t __c1 = (__c / 100) << 1; in __to_chars()
625 const uint32_t __c = (_Output % 100) << 1; in __to_chars()
631 const uint32_t __c = _Output << 1; in __to_chars()
640 uint32_t __index; in __to_chars()
667 const uint32_t __bits = __float_to_bits(__f); in __f2s_buffered_n()
692 const uint32_t __ieeeMantissa = __bits & ((1u << __FLOAT_MANTISSA_BITS) - 1); in __f2s_buffered_n()
693 const uint32_t __ieeeExponent = __bits >> __FLOAT_MANTISSA_BITS; in __f2s_buffered_n()
698 …const uint32_t _Mantissa2 = __ieeeMantissa | (1u << __FLOAT_MANTISSA_BITS); // restore implicit bit in __f2s_buffered_n()