{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/23382","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/23382/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/23382/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/23382/events","html_url":"https://github.com/JuliaLang/julia/issues/23382","id":251715626,"number":23382,"title":"compact BigFloat printing","user":{"login":"StefanKarpinski","id":153596,"avatar_url":"https://avatars2.githubusercontent.com/u/153596?v=4","gravatar_id":"","url":"https://api.github.com/users/StefanKarpinski","html_url":"https://github.com/StefanKarpinski","followers_url":"https://api.github.com/users/StefanKarpinski/followers","following_url":"https://api.github.com/users/StefanKarpinski/following{/other_user}","gists_url":"https://api.github.com/users/StefanKarpinski/gists{/gist_id}","starred_url":"https://api.github.com/users/StefanKarpinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StefanKarpinski/subscriptions","organizations_url":"https://api.github.com/users/StefanKarpinski/orgs","repos_url":"https://api.github.com/users/StefanKarpinski/repos","events_url":"https://api.github.com/users/StefanKarpinski/events{/privacy}","received_events_url":"https://api.github.com/users/StefanKarpinski/received_events","type":"User","site_admin":false},"labels":[{"id":611168704,"url":"https://api.github.com/repos/JuliaLang/julia/labels/bignums","name":"bignums","color":"f1791e","default":false},{"id":511192218,"url":"https://api.github.com/repos/JuliaLang/julia/labels/display%20and%20printing","name":"display and printing","color":"e5ff9e","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-21T16:49:58Z","updated_at":"2017-08-22T08:19:50Z","closed_at":null,"body":"Since https://github.com/JuliaLang/julia/pull/23334, all fixed-size floating-point types compact-print `NaN` whereas big-float prints NaNs like this:\r\n```jl\r\njulia> show(IOContext(STDOUT, :compact => true), big(NaN))\r\nBigFloat(NaN, 256)\r\n```\r\nHowever, this is part of a somewhat broader issue, which is that BigFloats don't really do compact printing:\r\n```jl\r\njulia> show(IOContext(STDOUT, :compact => true), big(pi))\r\n3.141592653589793238462643383279502884197169399375105820974944592307816406286198\r\n```\r\nWe should consider shortening the compact printing of BigFloats."},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/323954296","html_url":"https://github.com/JuliaLang/julia/issues/23382#issuecomment-323954296","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/23382","id":323954296,"user":{"login":"jw3126","id":7261506,"avatar_url":"https://avatars2.githubusercontent.com/u/7261506?v=4","gravatar_id":"","url":"https://api.github.com/users/jw3126","html_url":"https://github.com/jw3126","followers_url":"https://api.github.com/users/jw3126/followers","following_url":"https://api.github.com/users/jw3126/following{/other_user}","gists_url":"https://api.github.com/users/jw3126/gists{/gist_id}","starred_url":"https://api.github.com/users/jw3126/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jw3126/subscriptions","organizations_url":"https://api.github.com/users/jw3126/orgs","repos_url":"https://api.github.com/users/jw3126/repos","events_url":"https://api.github.com/users/jw3126/events{/privacy}","received_events_url":"https://api.github.com/users/jw3126/received_events","type":"User","site_admin":false},"created_at":"2017-08-22T08:19:50Z","updated_at":"2017-08-22T08:19:50Z","body":"About the second point, the `showcompact` function does not omit elements from huge arrays either. So it would be inconsistent to expect that it omits digits from `BigFloats`?"}}
{"actor":{"display_login":"jw3126"}}