We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is a tracking issue for general human-readable floating point formatting akin to C's printf("%g").
printf("%g")
%g
{:g?}
Debug
{:x?}
:g | :g? | :#?
LowerGen
UpperGen
From RFC 2729:
Pre-RFC discussion: https://internals.rust-lang.org/t/pre-rfc-draft-g-or-floating-points-for-humans/9110
float-pretty-print
3photons-rust
sad_monte_carlo
The text was updated successfully, but these errors were encountered:
rust-lang/rfcs#2729 has not been accepted yet
Sorry, something went wrong.
@droundy
No branches or pull requests
This is a tracking issue for general human-readable floating point formatting akin to C's
printf("%g")
.RFCs:
%g
-style format{:g?}
Debug
formatter following the stabilization of{:x?}
.Open questions:
:g | :g? | :#?
). ExtendDebug
or introduceLowerGen
,UpperGen
formatting traits?From RFC 2729:
Links:
Pre-RFC discussion: https://internals.rust-lang.org/t/pre-rfc-draft-g-or-floating-points-for-humans/9110
Related crates:
float-pretty-print
by @vi3photons-rust
by @HadrienG2 implements a%g
-like formatter.sad_monte_carlo
by @droudy implements a%g
-like formatter.The text was updated successfully, but these errors were encountered: