Skip to content

Fixes floating point alignment in std.fmt.format #6002

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

Merged
merged 3 commits into from
Aug 11, 2020

Conversation

ikskuh
Copy link
Contributor

@ikskuh ikskuh commented Aug 9, 2020

Fixes std.fmt.formatFloatValue to adhere to the alignment and filling rules. I'm not sure about the buffer printing workaround, but i think it should be safe (assuming f64 with 10^308 digits + 15 significant decimal places)

@kubkon kubkon added the standard library This issue involves writing Zig code for the standard library. label Aug 10, 2020
@andrewrk andrewrk merged commit bc176fb into ziglang:master Aug 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
standard library This issue involves writing Zig code for the standard library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants