[issue17259] Document round half to even rule for floats

2013-12-08 Thread alexd2
alexd2 added the comment: I encountered the same inconsistent behavior. That is, I don't get the same rounding from the two following commands: print %.f %.f %(0.5, 1.5) # Gives -- 0 2 print %.f %.f %(round(0.5), round(1.5)) # Gives -- 1 2 I also get: print round(0.5), round(1.5

[issue17259] Document round half to even rule for floats

2013-12-08 Thread alexd2
alexd2 added the comment: Note: I have python2.7.3 in Ubuntu 12.04.3 installed in a VirtualBox VM on a Windows 7 32-bit and an Intel(R) Core(TM)2 Duo CPU U9300 @ 1.20GHz (2 CPUs), ~1.2GHz processor -- ___ Python tracker rep...@bugs.python.org http