Skip to content
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

Unimplemented printf specifier %a / %A #1102

Open
Dennisbonke opened this issue Aug 2, 2024 · 0 comments
Open

Unimplemented printf specifier %a / %A #1102

Dennisbonke opened this issue Aug 2, 2024 · 0 comments

Comments

@Dennisbonke
Copy link
Member

autotools configure checks if we support a and A in our printf implementation. According to the man page, they should do the following

(C99; not in SUSv2, but added in SUSv3) For a conversion, the double argument is converted to hexadecimal notation (using the letters abcdef) in the style [-]0xh.hhhhp±d; for A conversion the pre‐
              fix 0X, the letters ABCDEF, and the exponent separator P is used.  There is one hexadecimal digit before the decimal point, and the number of digits after it is equal to the  precision.   The  de‐
              fault  precision  suffices for an exact representation of the value if an exact representation in base 2 exists and otherwise is sufficiently large to distinguish values of type double.  The digit
              before the decimal point is unspecified for nonnormalized numbers, and nonzero but otherwise unspecified for normalized numbers.  The exponent always contains at least one digit; if the  value  is
              zero, the exponent is 0.
@Dennisbonke Dennisbonke added the bug This issue reports a bug label Aug 2, 2024
@Dennisbonke Dennisbonke moved this to To do for proper self-hosting (including image generation) in Self-hosting Aug 2, 2024
@Dennisbonke Dennisbonke added enhancement and removed bug This issue reports a bug labels Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do for proper self-hosting (including image generation)
Development

No branches or pull requests

1 participant