]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Blocked revisions 71701 via svnmerge
authorMark Dickinson <dickinsm@gmail.com>
Sat, 18 Apr 2009 11:50:41 +0000 (11:50 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 18 Apr 2009 11:50:41 +0000 (11:50 +0000)
........
  r71701 | mark.dickinson | 2009-04-18 12:48:33 +0100 (Sat, 18 Apr 2009) | 7 lines

  Issue #1869 (and 4707, 5118, 5473, 1456775):  use the new
  string <-> float conversion routines to make round(x, n) correctly
  rounded for floats x, so that it always agrees with format(x, '.<n>f').

  Also fix some other round nuisances, like round(123.456, 1-2**31) giving
  an integer rather than a float.
........


No differences found