-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Reset boundaries whenever the base is changed. * Add support for converting the value to the new base. * Don't clamp if the value is 0 and there is space for more leading zeros. * Temove redundant boundary check. * Handle the case of going from leading zeros to non-zero push_back(). * handle leading zeros correctly for pop_back(). * Adjust for leading zeros when recalculating size. * Properly handle leading zeros for negative numbers. * Remove unnecessary assert. * Add tests. * Fix review comments.
- Loading branch information
Showing
2 changed files
with
169 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters