Author vstinner
Recipients cstratak, mark.dickinson, vstinner
Date 2019-03-11.14:03:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552313007.81.0.698712425711.issue36262@roundup.psfhosted.org>
In-reply-to
Content
* bpo-9009 discussed maintenance of Python/dtoa.c
* Python/dtoa.c asks to frequently update it from "upstream" http://www.netlib.org/fp/dtoa.c
* The upstream is also mentioned in the license: https://docs.python.org/dev/license.html#strtod-and-dtoa

... in practice, it seems like Python became the "upstream". I see lot of changes, but I'm not sure that version maintained by David M. Gay on http://www.netlib.org/fp/dtoa.c has been updated since Mark Dickinson copied it to Python/dtoa.c:

commit b08a53a99def3fa949643974f713b5b189e21bc7
Author: Mark Dickinson <dickinsm@gmail.com>
Date:   Thu Apr 16 19:52:09 2009 +0000

    Issue #1580: use short float repr where possible.
     - incorporate and adapt David Gay's dtoa and strtod
       into the Python core
     - on platforms where we can use Gay's code (almost
       all!), repr(float) is based on the shortest
       sequence of decimal digits that rounds correctly.
     - add sys.float_repr_style attribute to indicate
       whether we're using Gay's code or not
     - add autoconf magic to detect and enable SSE2
       instructions on x86/gcc
     - slight change to repr and str:  repr switches
       to exponential notation at 1e16 instead of
       1e17, str switches at 1e11 instead of 1e12
History
Date User Action Args
2019-03-11 14:03:27vstinnersetrecipients: + vstinner, mark.dickinson, cstratak
2019-03-11 14:03:27vstinnersetmessageid: <1552313007.81.0.698712425711.issue36262@roundup.psfhosted.org>
2019-03-11 14:03:27vstinnerlinkissue36262 messages
2019-03-11 14:03:27vstinnercreate