New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Printing +/-0 with "%g" doesn't fall back to decimal mode #121
Comments
eyalroz
added a commit
to eyalroz/printf
that referenced
this issue
Aug 5, 2021
…ent check, since their exponent is a special case - 0 rather minus infinity.
eyalroz
added a commit
to eyalroz/printf
that referenced
this issue
Aug 5, 2021
…ent check, since their exponent is a special case - 0 rather minus infinity.
eyalroz
added a commit
to eyalroz/printf
that referenced
this issue
Aug 6, 2021
…ent check, since their exponent is a special case - 0 rather minus infinity.
KarlK90
pushed a commit
to qmk/printf
that referenced
this issue
Jul 7, 2022
…or `%#b`, like for `%#x`, when a precision is field width is specified and we are matching it exactly. Also, added some test suite checks for this bug.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If we
printf_("%g", 0.)
, we get"0e+00"
; we should be getting just "0". See also #75, #55, #48 about "%g" issues.The text was updated successfully, but these errors were encountered: