[issue36622] Inconsistent exponent notation formatting

Mark Dickinson report at bugs.python.org
Sun Apr 14 04:32:26 EDT 2019


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

FWIW, here's where that "at least two digits" is encoded in the CPython source: https://github.com/python/cpython/blob/bf94cc7b496a379e1f604aa2e4080bb70ca4020e/Python/pystrtod.c#L1227

*If* we wanted to, it would be an easy change to get rid of the extra leading exponent zeros.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36622>
_______________________________________


More information about the Python-bugs-list mailing list