Searched refs:newscale (Results 1 – 3 of 3) sorted by relevance
135 INT newscale; in scaleValueInPlace() local136 if ((newscale = scalefactor) >= 0) in scaleValueInPlace()137 *value <<= newscale; in scaleValueInPlace()139 *value >>= -newscale; in scaleValueInPlace()
184 INT newscale; in scaleValueInPlace() local186 if ((newscale = (scalefactor)) >= 0) { in scaleValueInPlace()187 *(value) <<= newscale; in scaleValueInPlace()189 *(value) >>= -newscale; in scaleValueInPlace()
4868 void CFX_Decimal::SetScale(uint8_t newscale) { in SetScale() argument4870 if (newscale > oldscale) { in SetScale()4872 for (uint8_t iter = 0; iter < newscale - oldscale; iter++) { in SetScale()4879 FXMATH_DECIMAL_FLAGS2NEG(m_uFlags) && IsNotZero(), newscale); in SetScale()4880 } else if (newscale < oldscale) { in SetScale()4884 for (uint8_t iter = 0; iter < oldscale - newscale - 1; iter++) { in SetScale()4893 for (uint8_t iter = 0; iter < oldscale - newscale; iter++) { in SetScale()4901 FXMATH_DECIMAL_FLAGS2NEG(m_uFlags) && IsNotZero(), newscale); in SetScale()