1. 19 Apr, 2009 4 commits
  2. 18 Apr, 2009 18 commits
  3. 17 Apr, 2009 13 commits
  4. 16 Apr, 2009 5 commits
    • Eric Smith's avatar
      Simplify PyOS_double_to_string. · 5c75fe9d
      Eric Smith authored
      5c75fe9d
    • Eric Smith's avatar
      Better wording for Issue #5515 entry. · bcf2ccec
      Eric Smith authored
      bcf2ccec
    • Eric Smith's avatar
      The other half of Issue #1580: use short float repr where possible. · 9d6ff4b4
      Eric Smith authored
      Addresses the float -> string conversion, using David Gay's code which
      was added in Mark Dickinson's checkin r71663.
      
      Also addresses these, which are intertwined with the short repr
      changes:
      
      - Issue #5772: format(1e100, '<') produces '1e+100', not '1.0e+100'
      - Issue #5515: 'n' formatting with commas no longer works poorly
          with leading zeros.
      - PEP 378 Format Specifier for Thousands Separator: implemented
          for floats.
      9d6ff4b4
    • Mark Dickinson's avatar
      Issue #1580: use short float repr where possible. · 18a92887
      Mark Dickinson authored
       - 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
      18a92887
    • Thomas Heller's avatar
      Merged revisions 71640-71641 via svnmerge from · 67a4bf3a
      Thomas Heller authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r71640 | thomas.heller | 2009-04-16 08:26:33 +0200 (Do, 16 Apr 2009) | 1 line
      
        Remove unneeded code.
      ........
        r71641 | thomas.heller | 2009-04-16 08:42:02 +0200 (Do, 16 Apr 2009) | 2 lines
      
        Remove duplicated function declaration.
        Make _pagesize static.
      ........
      67a4bf3a