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

Added format for floating point numbers. {.x} where x is the number of decimals. #668

Merged
merged 1 commit into from Dec 31, 2017

Conversation

@sparrisable
Copy link
Contributor

@sparrisable sparrisable commented Dec 30, 2017

This is my first contribution to zig, I hope you find it useful. Feel free to change or reject as you wish.

@andrewrk
Copy link
Member

@andrewrk andrewrk commented Dec 30, 2017

Looks good! Thanks for adding tests. I'm going to wait for the tests to pass and then merge.

We can revisit the stdlib API before releasing 1.0.0. Until then let's give this a try!

Loading

@sparrisable
Copy link
Contributor Author

@sparrisable sparrisable commented Dec 30, 2017

Agree. Really nice to be able to understand parts of the compiler and make a contribution. All thanks to zig zen.

Loading

@andrewrk andrewrk merged commit aafb832 into ziglang:master Dec 31, 2017
2 checks passed
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants