mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 22:23:29 -07:00
Make changes in respect to feedback
This commit is contained in:
parent
1e9d6cb0a7
commit
ca896d0585
1 changed files with 2 additions and 2 deletions
|
@ -601,7 +601,7 @@ bool zernum(_In_ PNUMBER a)
|
||||||
|
|
||||||
// loop over all the digits until you find a nonzero or until you run
|
// loop over all the digits until you find a nonzero or until you run
|
||||||
// out of digits
|
// out of digits
|
||||||
for (int32_t length = a->cdigit; length > 0; length--)
|
for (int32_t length = a->cdigit; length > 0; --length)
|
||||||
{
|
{
|
||||||
if (*pcha)
|
if (*pcha)
|
||||||
{
|
{
|
||||||
|
@ -609,7 +609,7 @@ bool zernum(_In_ PNUMBER a)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
pcha++;
|
++pcha;
|
||||||
}
|
}
|
||||||
// All of the digits are zero, therefore the number is zero
|
// All of the digits are zero, therefore the number is zero
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue