This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients SilentGhost, anders.rundgren.net@gmail.com, docs@python, eryksun, martin.panter
Date 2016-01-30.09:58:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454147935.53.0.495553783626.issue26241@psf.upfronthosting.co.za>
In-reply-to
Content
> A test with a 100 million random and selected IEEE 64-bit values 
> returned no differences

The float type's tp_str and tp_repr both call float_repr in Objects/floatobject.c. See the 3.5.1 PyFloat_Type definition [1].

Perhaps you were reading something in reference to Python 2, which has separate float_str and float_repr functions. See the 2.7.11 PyFloat_Type definition [2] and the header file where PyFloat_STR_PRECISION is defined to be 12 digits [3].

[1]: https://hg.python.org/cpython/file/v3.5.1/Objects/floatobject.c#l1839
[2]: https://hg.python.org/cpython/file/v2.7.11/Objects/floatobject.c#l2118
[3]: https://hg.python.org/cpython/file/v2.7.11/Include/floatobject.h#l24
History
Date User Action Args
2016-01-30 09:58:55eryksunsetrecipients: + eryksun, SilentGhost, docs@python, martin.panter, anders.rundgren.net@gmail.com
2016-01-30 09:58:55eryksunsetmessageid: <1454147935.53.0.495553783626.issue26241@psf.upfronthosting.co.za>
2016-01-30 09:58:55eryksunlinkissue26241 messages
2016-01-30 09:58:55eryksuncreate