Skip to content

Conversation

Quill88
Copy link
Contributor

@Quill88 Quill88 commented Sep 19, 2016

It had been wrong subtraction result for large numbers and during
zeroing of upper num they aren't deleted that led to incorrect
comparison

It had been wrong subtraction result for large numbers and during
zeroing of upper num they aren't deleted that led to incorrect
comparison
}
if (dif < 0) positive = false;

if (number.size() > 1)
Copy link
Owner

@kasparsklavins kasparsklavins Sep 26, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this better than a regular while loop? The same condition is called either way.

Created an unneeded indentation, imo.

@kasparsklavins kasparsklavins merged commit ab6c858 into kasparsklavins:master Jan 28, 2017
@ghost ghost mentioned this pull request Feb 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants