Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upMake `pretty` mod or `write_to_ryu_buffer` function public? #5
Comments
Alexhuszagh
changed the title
Make `write_to_ryu_buffer` or some form public?
Make `pretty` mod or `write_to_ryu_buffer` function public?
Nov 10, 2018
This comment has been minimized.
This comment has been minimized.
|
How's this? #6 |
This comment has been minimized.
This comment has been minimized.
Alexhuszagh
commented
Nov 10, 2018
|
@dtolnay Excellent, thank you! |
dtolnay
closed this
in
#6
Nov 10, 2018
This comment has been minimized.
This comment has been minimized.
|
Okay. :) I published 0.2.7 with those functions exposed. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Alexhuszagh commentedNov 10, 2018
•
edited
I already have an intermediate stack buffer, but would like to use the pretty formatting via
pretty:{f2s_buffered_n, d2s_buffered_n}. Right now, this is publicly exposed viaFloat::write_to_ryu_buffer, however, this is very clearly not a public API and likely to change.Would you be willing to make any guarantees about the
write_to_ryu_buffermethod in theFloattrait, either in the current form, or some new form, or expose thepretty:{f2s_buffered_n, d2s_buffered_n}functions publicly?