Lines Matching refs:pmid
22 uint64_t& pmid, in decimal_helper_div10() argument
25 pmid += FXMATH_DECIMAL_LSHIFT32BIT(phi % 0xA); in decimal_helper_div10()
27 plo += FXMATH_DECIMAL_LSHIFT32BIT(pmid % 0xA); in decimal_helper_div10()
28 pmid /= 0xA; in decimal_helper_div10()
47 inline void decimal_helper_mul10(uint64_t& phi, uint64_t& pmid, uint64_t& plo) { in decimal_helper_mul10() argument
49 pmid = pmid * 0xA + FXMATH_DECIMAL_RSHIFT32BIT(plo); in decimal_helper_mul10()
51 phi = phi * 0xA + FXMATH_DECIMAL_RSHIFT32BIT(pmid); in decimal_helper_mul10()
52 pmid = (uint32_t)pmid; in decimal_helper_mul10()
64 uint64_t& pmid, in decimal_helper_normalize() argument
66 phi += FXMATH_DECIMAL_RSHIFT32BIT(pmid); in decimal_helper_normalize()
67 pmid = (uint32_t)pmid; in decimal_helper_normalize()
68 pmid += FXMATH_DECIMAL_RSHIFT32BIT(plo); in decimal_helper_normalize()
70 phi += FXMATH_DECIMAL_RSHIFT32BIT(pmid); in decimal_helper_normalize()
71 pmid = (uint32_t)pmid; in decimal_helper_normalize()
216 uint64_t& pmid, in decimal_helper_truncate() argument
221 uint64_t thi = phi, tmid = pmid, tlo = plo; in decimal_helper_truncate()
226 pmid = tmid; in decimal_helper_truncate()
272 uint64_t pmid = bottom64 >> 32; in CFGAS_Decimal() local
277 decimal_helper_mul10(phi, pmid, plo); in CFGAS_Decimal()
284 decimal_helper_normalize(phi, pmid, plo); in CFGAS_Decimal()
286 m_uMid = static_cast<uint32_t>(pmid); in CFGAS_Decimal()
332 uint64_t pmid = m_uMid; in ToWideString() local
334 while (phi || pmid || plo) in ToWideString()
335 tmpbuf += decimal_helper_div10(phi, pmid, plo) + '0'; in ToWideString()
371 uint64_t pmid = m_uMid; in SetScale() local
375 decimal_helper_mul10(phi, pmid, plo); in SetScale()
378 m_uMid = static_cast<uint32_t>(pmid); in SetScale()
390 pmid += point5_mid; in SetScale()
392 decimal_helper_normalize(phi, pmid, plo); in SetScale()
394 decimal_helper_div10(phi, pmid, plo); in SetScale()
397 m_uMid = static_cast<uint32_t>(pmid); in SetScale()