<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/</link>
    <language>en-us</language>

    <title>cpython-lru_cache-weakref: Python/dtoa.c history</title>
    <description>Python/dtoa.c revision history</description>
    <item>
    <title>Issue #19638: Raise ValueError instead of crashing when converting billion character strings to float.</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/eac133e13bb5/Python/dtoa.c</link>
    <description><![CDATA[Issue #19638: Raise ValueError instead of crashing when converting billion character strings to float.]]></description>
    <author>&#77;&#97;&#114;&#107;&#32;&#68;&#105;&#99;&#107;&#105;&#110;&#115;&#111;&#110;&#32;&#60;&#100;&#105;&#99;&#107;&#105;&#110;&#115;&#109;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Tue, 26 Nov 2013 16:19:13 +0000</pubDate>
</item>
<item>
    <title>Issue #14521: Make result of float('nan') and float('-nan') more consistent across platforms.  Further, don't rely on Py_HUGE_VAL for float('inf').</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/c468511fc887/Python/dtoa.c</link>
    <description><![CDATA[Issue #14521: Make result of float('nan') and float('-nan') more consistent across platforms.  Further, don't rely on Py_HUGE_VAL for float('inf').]]></description>
    <author>&#77;&#97;&#114;&#107;&#32;&#68;&#105;&#99;&#107;&#105;&#110;&#115;&#111;&#110;&#32;&#60;&#109;&#100;&#105;&#99;&#107;&#105;&#110;&#115;&#111;&#110;&#64;&#101;&#110;&#116;&#104;&#111;&#117;&#103;&#104;&#116;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sun, 29 Apr 2012 15:31:56 +0100</pubDate>
</item>
<item>
    <title>Issue #8914: fix various warnings from the Clang static analyzer v254.</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/e2f96bd29252/Python/dtoa.c</link>
    <description><![CDATA[Issue #8914: fix various warnings from the Clang static analyzer v254.]]></description>
    <author>&#66;&#114;&#101;&#116;&#116;&#32;&#67;&#97;&#110;&#110;&#111;&#110;&#32;&#60;&#98;&#99;&#97;&#110;&#110;&#111;&#110;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Tue, 22 Feb 2011 20:15:44 +0000</pubDate>
</item>
<item>
    <title>Remove unnecessary assignments.</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/8410f83fd159/Python/dtoa.c</link>
    <description><![CDATA[Remove unnecessary assignments.]]></description>
    <author>&#77;&#97;&#114;&#107;&#32;&#68;&#105;&#99;&#107;&#105;&#110;&#115;&#111;&#110;&#32;&#60;&#100;&#105;&#99;&#107;&#105;&#110;&#115;&#109;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 13 May 2010 11:52:22 +0000</pubDate>
</item>
<item>
    <title>Merged revisions 77691,77698,77713-77714 via svnmerge from</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/be12d3621519/Python/dtoa.c</link>
    <description><![CDATA[Merged revisions 77691,77698,77713-77714 via svnmerge from<br/>
svn+ssh://pythondev@svn.python.org/python/trunk<br/>
<br/>
........<br/>
  r77691 | mark.dickinson | 2010-01-22 16:18:09 +0000 (Fri, 22 Jan 2010) | 1 line<br/>
<br/>
  Correct typo in comment.<br/>
........<br/>
  r77698 | mark.dickinson | 2010-01-22 17:04:07 +0000 (Fri, 22 Jan 2010) | 3 lines<br/>
<br/>
  Issue #7743:  Fix a potential incorrect rounding bug in dtoa.c (2nd bug<br/>
  in issue 7743).<br/>
........<br/>
  r77713 | mark.dickinson | 2010-01-23 20:48:56 +0000 (Sat, 23 Jan 2010) | 3 lines<br/>
<br/>
  Issue #7743:  Add checks for zero inputs to the lshift and mult functions;<br/>
  this fixes the first bug described in issue #7743.<br/>
........<br/>
  r77714 | mark.dickinson | 2010-01-23 21:25:53 +0000 (Sat, 23 Jan 2010) | 1 line<br/>
<br/>
  dtoa.c fix from upstream that fixes incorrectly rounded results for certain subnormals that are also halfway cases.<br/>
........]]></description>
    <author>&#77;&#97;&#114;&#107;&#32;&#68;&#105;&#99;&#107;&#105;&#110;&#115;&#111;&#110;&#32;&#60;&#100;&#105;&#99;&#107;&#105;&#110;&#115;&#109;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sun, 24 Jan 2010 10:16:29 +0000</pubDate>
</item>
<item>
    <title>Merged revisions 77614-77616,77663 via svnmerge from</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/f38c1196d9ff/Python/dtoa.c</link>
    <description><![CDATA[Merged revisions 77614-77616,77663 via svnmerge from<br/>
svn+ssh://pythondev@svn.python.org/python/trunk<br/>
<br/>
........<br/>
  r77614 | mark.dickinson | 2010-01-20 17:36:31 +0000 (Wed, 20 Jan 2010) | 5 lines<br/>
<br/>
  Various dtoa.c cleanups.  1. Despagghetify _Py_dg_strtod parsing code<br/>
  and exit points.  2. Simplify bigcomp comparison loop.  3. Don't set<br/>
  ERANGE on _Py_dg_strtod underflow (it was set inconsistently anyway).<br/>
  4. Remove unused dsign field from BCinfo struct.<br/>
........<br/>
  r77615 | mark.dickinson | 2010-01-20 18:02:41 +0000 (Wed, 20 Jan 2010) | 1 line<br/>
<br/>
  Don't try to put a value into a NULL pointer.<br/>
........<br/>
  r77616 | mark.dickinson | 2010-01-20 21:23:25 +0000 (Wed, 20 Jan 2010) | 1 line<br/>
<br/>
  Additional explanatory comments for _Py_dg_strtod.<br/>
........<br/>
  r77663 | mark.dickinson | 2010-01-21 17:02:53 +0000 (Thu, 21 Jan 2010) | 1 line<br/>
<br/>
  Additional testcases for strtod.<br/>
........]]></description>
    <author>&#77;&#97;&#114;&#107;&#32;&#68;&#105;&#99;&#107;&#105;&#110;&#115;&#111;&#110;&#32;&#60;&#100;&#105;&#99;&#107;&#105;&#110;&#115;&#109;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 21 Jan 2010 19:51:08 +0000</pubDate>
</item>
<item>
    <title>Merged revisions 77589 via svnmerge from</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/3e629471850a/Python/dtoa.c</link>
    <description><![CDATA[Merged revisions 77589 via svnmerge from<br/>
svn+ssh://pythondev@svn.python.org/python/trunk<br/>
<br/>
........<br/>
  r77589 | mark.dickinson | 2010-01-17 20:57:56 +0000 (Sun, 17 Jan 2010) | 7 lines<br/>
<br/>
  Issue #7632: When Py_USING_MEMORY_DEBUGGER is defined, disable the<br/>
  private memory allocation scheme in dtoa.c, along with a piece of code<br/>
  that caches powers of 5 for future use.  This makes it easier to<br/>
  detect dtoa.c memory leaks with Valgrind or similar tools.<br/>
<br/>
  Patch by Stefan Krah.<br/>
........]]></description>
    <author>&#77;&#97;&#114;&#107;&#32;&#68;&#105;&#99;&#107;&#105;&#110;&#115;&#111;&#110;&#32;&#60;&#100;&#105;&#99;&#107;&#105;&#110;&#115;&#109;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sun, 17 Jan 2010 21:02:55 +0000</pubDate>
</item>
<item>
    <title>Merged revisions 77578 via svnmerge from</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/b9888c1339df/Python/dtoa.c</link>
    <description><![CDATA[Merged revisions 77578 via svnmerge from<br/>
svn+ssh://pythondev@svn.python.org/python/trunk<br/>
<br/>
........<br/>
  r77578 | mark.dickinson | 2010-01-17 13:37:57 +0000 (Sun, 17 Jan 2010) | 2 lines<br/>
<br/>
  Issue #7632: Fix a memory leak in _Py_dg_strtod.<br/>
........]]></description>
    <author>&#77;&#97;&#114;&#107;&#32;&#68;&#105;&#99;&#107;&#105;&#110;&#115;&#111;&#110;&#32;&#60;&#100;&#105;&#99;&#107;&#105;&#110;&#115;&#109;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sun, 17 Jan 2010 14:39:12 +0000</pubDate>
</item>
<item>
    <title>Merged revisions 77519,77530,77533 via svnmerge from</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/6351d3d53ded/Python/dtoa.c</link>
    <description><![CDATA[Merged revisions 77519,77530,77533 via svnmerge from<br/>
svn+ssh://pythondev@svn.python.org/python/trunk<br/>
<br/>
........<br/>
  r77519 | mark.dickinson | 2010-01-16 10:44:00 +0000 (Sat, 16 Jan 2010) | 5 lines<br/>
<br/>
  Issue #7632: Fix a serious wrong output bug for string -&gt; float conversion.<br/>
  Also remove some now unused variables, and add comments clarifying the<br/>
  possible outputs of the parsing section of _Py_dg_strtod.  Thanks<br/>
  Eric Smith for reviewing.<br/>
........<br/>
  r77530 | mark.dickinson | 2010-01-16 17:57:49 +0000 (Sat, 16 Jan 2010) | 3 lines<br/>
<br/>
  Issue #7632: Fix one more case of incorrect rounding for str -&gt; float<br/>
  conversion (see bug 5 in the issue tracker).<br/>
........<br/>
  r77533 | mark.dickinson | 2010-01-16 18:06:17 +0000 (Sat, 16 Jan 2010) | 1 line<br/>
<br/>
  Fix multiple uses of variable 'L' in _Py_dg_strtod, where one use requires an unsigned long and the other a signed long.  See also r77421.<br/>
........]]></description>
    <author>&#77;&#97;&#114;&#107;&#32;&#68;&#105;&#99;&#107;&#105;&#110;&#115;&#111;&#110;&#32;&#60;&#100;&#105;&#99;&#107;&#105;&#110;&#115;&#109;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sat, 16 Jan 2010 18:10:25 +0000</pubDate>
</item>
<item>
    <title>Merged revisions 77477-77478,77481-77483,77490-77493 via svnmerge from</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/ce11c1270b69/Python/dtoa.c</link>
    <description><![CDATA[Merged revisions 77477-77478,77481-77483,77490-77493 via svnmerge from<br/>
svn+ssh://pythondev@svn.python.org/python/trunk<br/>
<br/>
........<br/>
  r77477 | mark.dickinson | 2010-01-13 18:21:53 +0000 (Wed, 13 Jan 2010) | 1 line<br/>
<br/>
  Add comments explaining the role of the bigcomp function in dtoa.c.<br/>
........<br/>
  r77478 | mark.dickinson | 2010-01-13 19:02:37 +0000 (Wed, 13 Jan 2010) | 1 line<br/>
<br/>
  Clarify that sulp expects a nonnegative input, but that +0.0 is fine.<br/>
........<br/>
  r77481 | mark.dickinson | 2010-01-13 20:55:03 +0000 (Wed, 13 Jan 2010) | 1 line<br/>
<br/>
  Simplify and annotate the bigcomp function, removing unused special cases.<br/>
........<br/>
  r77482 | mark.dickinson | 2010-01-13 22:15:53 +0000 (Wed, 13 Jan 2010) | 1 line<br/>
<br/>
  Fix buggy comparison:  LHS of comparison was being treated as unsigned.<br/>
........<br/>
  r77483 | mark.dickinson | 2010-01-13 22:20:10 +0000 (Wed, 13 Jan 2010) | 1 line<br/>
<br/>
  More dtoa.c cleanup;  remove the need for bc.dplen, bc.dp0 and bc.dp1.<br/>
........<br/>
  r77490 | mark.dickinson | 2010-01-14 13:02:36 +0000 (Thu, 14 Jan 2010) | 1 line<br/>
<br/>
  Fix off-by-one error introduced in r77483.  I have a test for this, but it currently fails due to a different dtoa.c bug;  I'll add the test once that bug is fixed.<br/>
........<br/>
  r77491 | mark.dickinson | 2010-01-14 13:14:49 +0000 (Thu, 14 Jan 2010) | 1 line<br/>
<br/>
  Issue 7632: fix a dtoa.c bug (bug 6) causing incorrect rounding.  Tests to follow.<br/>
........<br/>
  r77492 | mark.dickinson | 2010-01-14 14:40:20 +0000 (Thu, 14 Jan 2010) | 1 line<br/>
<br/>
  Issue 7632:  fix incorrect rounding for long input strings with values very close to a power of 2.  (See Bug 4 in the tracker discussion.)<br/>
........<br/>
  r77493 | mark.dickinson | 2010-01-14 15:22:33 +0000 (Thu, 14 Jan 2010) | 1 line<br/>
<br/>
  Issue #7632:  add tests for bugs fixed so far.<br/>
........]]></description>
    <author>&#77;&#97;&#114;&#107;&#32;&#68;&#105;&#99;&#107;&#105;&#110;&#115;&#111;&#110;&#32;&#60;&#100;&#105;&#99;&#107;&#105;&#110;&#115;&#109;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 14 Jan 2010 15:37:49 +0000</pubDate>
</item>
<item>
    <title>Merged revisions 77410,77421,77450-77451 via svnmerge from</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/c32d3b08fcdc/Python/dtoa.c</link>
    <description><![CDATA[Merged revisions 77410,77421,77450-77451 via svnmerge from<br/>
svn+ssh://pythondev@svn.python.org/python/trunk<br/>
<br/>
........<br/>
  r77410 | mark.dickinson | 2010-01-10 13:06:31 +0000 (Sun, 10 Jan 2010) | 1 line<br/>
<br/>
  Remove unused BCinfo fields and an unused macro.<br/>
........<br/>
  r77421 | mark.dickinson | 2010-01-11 17:15:13 +0000 (Mon, 11 Jan 2010) | 1 line<br/>
<br/>
  Change a variable type to avoid signed overflow; replace repeated '19999' constant by a define.<br/>
........<br/>
  r77450 | mark.dickinson | 2010-01-12 22:23:56 +0000 (Tue, 12 Jan 2010) | 4 lines<br/>
<br/>
  Issue #7632: Fix a problem with _Py_dg_strtod that could lead to<br/>
  crashes in debug builds, for certain long numeric strings<br/>
  corresponding to subnormal values.<br/>
........<br/>
  r77451 | mark.dickinson | 2010-01-12 22:55:51 +0000 (Tue, 12 Jan 2010) | 2 lines<br/>
<br/>
  Issue #7632:  Fix a bug in dtoa.c that could lead to incorrectly-rounded results.<br/>
........]]></description>
    <author>&#77;&#97;&#114;&#107;&#32;&#68;&#105;&#99;&#107;&#105;&#110;&#115;&#111;&#110;&#32;&#60;&#100;&#105;&#99;&#107;&#105;&#110;&#115;&#109;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Tue, 12 Jan 2010 23:04:19 +0000</pubDate>
</item>
<item>
    <title>Merged revisions 77304 via svnmerge from</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/70f6fa3084e6/Python/dtoa.c</link>
    <description><![CDATA[Merged revisions 77304 via svnmerge from<br/>
svn+ssh://pythondev@svn.python.org/python/branches/py3k<br/>
<br/>
................<br/>
  r77304 | mark.dickinson | 2010-01-04 21:33:31 +0000 (Mon, 04 Jan 2010) | 9 lines<br/>
<br/>
  Merged revisions 77302 via svnmerge from<br/>
  svn+ssh://pythondev@svn.python.org/python/trunk<br/>
<br/>
  ........<br/>
    r77302 | mark.dickinson | 2010-01-04 21:32:02 +0000 (Mon, 04 Jan 2010) | 1 line<br/>
<br/>
    Fix typo in comment.<br/>
  ........<br/>
................]]></description>
    <author>&#77;&#97;&#114;&#107;&#32;&#68;&#105;&#99;&#107;&#105;&#110;&#115;&#111;&#110;&#32;&#60;&#100;&#105;&#99;&#107;&#105;&#110;&#115;&#109;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Mon, 04 Jan 2010 21:34:08 +0000</pubDate>
</item>
<item>
    <title>Refactor to remove duplicated nan/inf parsing code in</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/4501b638fc3f/Python/dtoa.c</link>
    <description><![CDATA[Refactor to remove duplicated nan/inf parsing code in<br/>
pystrtod.c, floatobject.c and dtoa.c.]]></description>
    <author>&#77;&#97;&#114;&#107;&#32;&#68;&#105;&#99;&#107;&#105;&#110;&#115;&#111;&#110;&#32;&#60;&#100;&#105;&#99;&#107;&#105;&#110;&#115;&#109;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Wed, 20 May 2009 22:05:25 +0000</pubDate>
</item>
<item>
    <title>Issue #5914:  Add new C-API function PyOS_string_to_double, to complement</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/13a82a710f19/Python/dtoa.c</link>
    <description><![CDATA[Issue #5914:  Add new C-API function PyOS_string_to_double, to complement<br/>
PyOS_double_to_string, and deprecate PyOS_ascii_strtod and PyOS_ascii_atof.]]></description>
    <author>&#77;&#97;&#114;&#107;&#32;&#68;&#105;&#99;&#107;&#105;&#110;&#115;&#111;&#110;&#32;&#60;&#100;&#105;&#99;&#107;&#105;&#110;&#115;&#109;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Sun, 03 May 2009 20:33:40 +0000</pubDate>
</item>
<item>
    <title>Silence compiler warnings on VS8.0</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/fe99a562b708/Python/dtoa.c</link>
    <description><![CDATA[Silence compiler warnings on VS8.0]]></description>
    <author>&#77;&#97;&#114;&#107;&#32;&#68;&#105;&#99;&#107;&#105;&#110;&#115;&#111;&#110;&#32;&#60;&#100;&#105;&#99;&#107;&#105;&#110;&#115;&#109;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 17 Apr 2009 19:29:46 +0000</pubDate>
</item>
<item>
    <title>Add reminder to dtoa.c to check for updates regularly.</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/ab06a38b590c/Python/dtoa.c</link>
    <description><![CDATA[Add reminder to dtoa.c to check for updates regularly.<br/>
Fix a bug in the memory management in dtoa.c.]]></description>
    <author>&#77;&#97;&#114;&#107;&#32;&#68;&#105;&#99;&#107;&#105;&#110;&#115;&#111;&#110;&#32;&#60;&#100;&#105;&#99;&#107;&#105;&#110;&#115;&#109;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Fri, 17 Apr 2009 16:06:28 +0000</pubDate>
</item>
<item>
    <title>Issue #1580: use short float repr where possible.</title>
    <link>https://hg.dopieralski.pl/cpython-lru_cache-weakref/log/97ae7a709c1d/Python/dtoa.c</link>
    <description><![CDATA[Issue #1580: use short float repr where possible.<br/>
 - incorporate and adapt David Gay's dtoa and strtod<br/>
   into the Python core<br/>
 - on platforms where we can use Gay's code (almost<br/>
   all!), repr(float) is based on the shortest<br/>
   sequence of decimal digits that rounds correctly.<br/>
 - add sys.float_repr_style attribute to indicate<br/>
   whether we're using Gay's code or not<br/>
 - add autoconf magic to detect and enable SSE2<br/>
   instructions on x86/gcc<br/>
 - slight change to repr and str:  repr switches<br/>
   to exponential notation at 1e16 instead of<br/>
   1e17, str switches at 1e11 instead of 1e12]]></description>
    <author>&#77;&#97;&#114;&#107;&#32;&#68;&#105;&#99;&#107;&#105;&#110;&#115;&#111;&#110;&#32;&#60;&#100;&#105;&#99;&#107;&#105;&#110;&#115;&#109;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;&#62;</author>
    <pubDate>Thu, 16 Apr 2009 19:52:09 +0000</pubDate>
</item>

  </channel>
</rss>
