mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 22:23:29 -07:00
Fix compilation issue
This commit is contained in:
parent
6d1cb73c53
commit
25a5c1b315
1 changed files with 1 additions and 1 deletions
|
@ -1048,7 +1048,7 @@ bool stripzeroesnum(_Inout_ PNUMBER pnum, int32_t starting)
|
||||||
if (fstrip)
|
if (fstrip)
|
||||||
{
|
{
|
||||||
// Remove them.
|
// Remove them.
|
||||||
memmove(pnum->mant, pmant, static_cast<size_t>(cdigits) * sizeof(MANTTYPE)));
|
memmove(pnum->mant, pmant, static_cast<size_t>(cdigits) * sizeof(MANTTYPE));
|
||||||
// And adjust exponent and digit count accordingly.
|
// And adjust exponent and digit count accordingly.
|
||||||
pnum->exp += (pnum->cdigit - cdigits);
|
pnum->exp += (pnum->cdigit - cdigits);
|
||||||
pnum->cdigit = cdigits;
|
pnum->cdigit = cdigits;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue