forked from mpaland/printf
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rearranged `sprint_exponential_number`. * Rewritten the exponential-vs-decimal choice logic for "%g". * Fixed a latent bug: With precision 0, a decimal point is never printed, even if it should due to alternate mode (`%` flag). * Some variable renaming for better clarity.
- Loading branch information
Showing
1 changed file
with
58 additions
and
63 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