# Fix for bug printing BigFloat where output fills internal DIGITS buffer

**URL:** <https://discourse.julialang.org/t/fix-for-bug-printing-bigfloat-where-output-fills-internal-digits-buffer/3985>\
**Category:** Internals & Design\
**Created:** [May 30, 2017, 5:33am UTC](https://discourse.julialang.org/t/fix-for-bug-printing-bigfloat-where-output-fills-internal-digits-buffer/3985 "2017-05-30T05:33:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ScottPJones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scottpjones/32/146_2.png) [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Post date:** [May 30, 2017, 5:33am UTC](https://discourse.julialang.org/t/fix-for-bug-printing-bigfloat-where-output-fills-internal-digits-buffer/3985/1 "2017-05-30T05:33:37Z")

</div>

I have a fix for the bug that @TotalVerb reported, [https://github.com/JuliaLang/julia/issues/22126](https://github.com/JuliaLang/julia/issues/22126), with a unit test added,  
in [https://github.com/ScottPJones/julia/tree/spj/fixprintf](https://github.com/ScottPJones/julia/tree/spj/fixprintf), if somebody wants to pull it in (@tkelman?)

---

<div class="post-metadata">

**Author:** ![ScottPJones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scottpjones/32/146_2.png) [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Post date:** [June 1, 2017, 2:37pm UTC](https://discourse.julialang.org/t/fix-for-bug-printing-bigfloat-where-output-fills-internal-digits-buffer/3985/2 "2017-06-01T14:37:49Z")

</div>

Thanks @vtjnash for getting this in! ([https://github.com/JuliaLang/julia/pull/22154](https://github.com/JuliaLang/julia/pull/22154))
