1. 19 Apr, 2009 5 commits
  2. 18 Apr, 2009 18 commits
  3. 17 Apr, 2009 13 commits
  4. 16 Apr, 2009 4 commits
    • Eric Smith's avatar
      Simplify PyOS_double_to_string. · 193125ad
      Eric Smith authored
      193125ad
    • Eric Smith's avatar
      Better wording for Issue #5515 entry. · 35e84728
      Eric Smith authored
      35e84728
    • Eric Smith's avatar
      The other half of Issue #1580: use short float repr where possible. · 0923d1d8
      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.
      0923d1d8
    • Mark Dickinson's avatar
      Issue #1580: use short float repr where possible. · b08a53a9
      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
      b08a53a9