Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
calc: Set maximum digit length to 9 (#35)
The type of calc->stack[0] is an integer, and the maximum value for an int is 2147483647. To ensure safety, when the length reaches 9 digits, pressing the digit button will not increase the number of digits. Close #25
- Loading branch information