Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize negative sign handling in __str_base10()
Modify the handling of negative numbers in the __str_base10(). Previously, adding a negative sign required searching for the first '0' in the result and replacing it with a '-'. The updated approach allows for directly appending the negative sign to pb[i] if needed, simplifying the implementation.
- Loading branch information