19 references to DEC_SCALE_MAX
System.Private.CoreLib (19)
src\libraries\System.Private.CoreLib\src\System\Decimal.DecCalc.cs (19)
648
if (newScale < scale -
DEC_SCALE_MAX
)
649
newScale = scale -
DEC_SCALE_MAX
;
872
if (scale >
DEC_SCALE_MAX
- 9)
878
curScale =
DEC_SCALE_MAX
- scale;
1417
if (scale >
DEC_SCALE_MAX
)
1423
if (scale >
DEC_SCALE_MAX
+ MaxInt64Scale)
1426
scale -=
DEC_SCALE_MAX
+ 1;
1438
scale =
DEC_SCALE_MAX
;
1544
if (hiProd > 2 || scale >
DEC_SCALE_MAX
)
1600
if (power >
DEC_SCALE_MAX
)
1601
power =
DEC_SCALE_MAX
;
1614
if (dbl < 1E6 && power <
DEC_SCALE_MAX
)
1760
if (power >
DEC_SCALE_MAX
)
1761
power =
DEC_SCALE_MAX
;
1774
if (dbl < 1E14 && power <
DEC_SCALE_MAX
)
1993
if (scale ==
DEC_SCALE_MAX
|| (curScale = SearchScale(ref bufQuo, scale)) == 0)
2070
if (scale ==
DEC_SCALE_MAX
|| (curScale = SearchScale(ref bufQuo, scale)) == 0)
2132
if (scale ==
DEC_SCALE_MAX
|| (curScale = SearchScale(ref bufQuo, scale)) == 0)
2259
int iCurScale = SearchScale(ref bufQuo,
DEC_SCALE_MAX
+ scale);