]> granicus.if.org Git - python/commit
Issue #7117, continued: Change round implementation to use the correctly-rounded
authorMark Dickinson <dickinsm@gmail.com>
Wed, 18 Nov 2009 19:33:35 +0000 (19:33 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Wed, 18 Nov 2009 19:33:35 +0000 (19:33 +0000)
commitbd15a06fd3ac256d4f2780c85a9f7e6def1ecd1f
treed6f4201cd2881e1b646906b5923c51455d96be73
parent0516f8138643ca49a6e5fd56e0aa546829465a37
Issue #7117, continued:  Change round implementation to use the correctly-rounded
string <-> float conversions;  this makes sure that the result of the round
operation is correctly rounded, and hence displays nicely using the new float
repr.
Include/floatobject.h
Lib/test/test_float.py
Misc/NEWS
Objects/floatobject.c
Python/bltinmodule.c