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

@sprintf of bigfloat with 323+ digits has null byte #22126

Closed
TotalVerb opened this issue May 30, 2017 · 2 comments
Closed

@sprintf of bigfloat with 323+ digits has null byte #22126

TotalVerb opened this issue May 30, 2017 · 2 comments
Labels
bignums BigInt and BigFloat bug Indicates an unexpected problem or unintended behavior display and printing Aesthetics and correctness of printed representations of objects.

Comments

@TotalVerb
Copy link
Contributor

julia> @sprintf("%.323f", BigFloat(1))
"1.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\0"

julia> @sprintf("%.322f", BigFloat(1))
"1.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
@kshyatt kshyatt added the display and printing Aesthetics and correctness of printed representations of objects. label May 30, 2017
@tkelman tkelman added the bignums BigInt and BigFloat label May 30, 2017
@StefanKarpinski StefanKarpinski added the bug Indicates an unexpected problem or unintended behavior label May 30, 2017
@vtjnash
Copy link
Member

vtjnash commented Jun 1, 2017

fixed by #22154

@StefanKarpinski
Copy link
Member

So good to close then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bignums BigInt and BigFloat bug Indicates an unexpected problem or unintended behavior display and printing Aesthetics and correctness of printed representations of objects.
Projects
None yet
Development

No branches or pull requests

5 participants