[issue532631] Confusions in formatfloat

Mark Dickinson report at bugs.python.org
Sun Mar 29 18:17:50 CEST 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

The worst-case length calculations look fine to me, except that
on a system with sizeof(int) == 8 (yes, they do exist!) the
precision could end up being more than 10 digits.  I've added
a check for that in r70682.

The docs also already mention the %f -> %g conversion, so I think all
Tim's points have been addressed.

----------
resolution:  -> fixed
stage: test needed -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue532631>
_______________________________________


More information about the Python-bugs-list mailing list