Skip to content

Commit 57b28c7

Browse files
<charconv>: _Divide can trim _Big_integer_flt more efficiently (#2623)
1 parent bcf2b79 commit 57b28c7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

stl/inc/charconv

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,10 +1032,6 @@ _NODISCARD inline uint64_t _Divide(_Big_integer_flt& _Numerator, const _Big_inte
10321032
}
10331033

10341034
// Trim the remainder:
1035-
for (uint32_t _Ix = _Max_numerator_element_index + 1; _Ix < _Numerator._Myused; ++_Ix) {
1036-
_Numerator._Mydata[_Ix] = 0;
1037-
}
1038-
10391035
uint32_t _Used = _Max_numerator_element_index + 1;
10401036

10411037
while (_Used != 0 && _Numerator._Mydata[_Used - 1] == 0) {

0 commit comments

Comments
 (0)