]> granicus.if.org Git - python/commit
Blocked revisions 71772 via svnmerge
authorMark Dickinson <dickinsm@gmail.com>
Mon, 20 Apr 2009 21:38:54 +0000 (21:38 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Mon, 20 Apr 2009 21:38:54 +0000 (21:38 +0000)
commit1480507762cfe37730a27bc3c7cbc7e5ea35ea18
tree0ac3ed662c6e003602c8b4af132a15344e5d1f16
parentceecb8d3d8213d94aa1df4a5bdb01fd9e30016c6
Blocked revisions 71772 via svnmerge

........
  r71772 | mark.dickinson | 2009-04-20 22:13:33 +0100 (Mon, 20 Apr 2009) | 5 lines

  Issue #3166: Make long -> float (and int -> float) conversions
  correctly rounded, using round-half-to-even.  This ensures that the
  value of float(n) doesn't depend on whether we're using 15-bit digits
  or 30-bit digits for Python longs.
........