Message106223
N.B. There's already logic for doing div_nearest (i.e., divide one integer by another, returning the closest integer to the result) in the long_round function in Objects/longobject.c. It might be worth pulling that logic out and making it available in a _Py function so that it can be reused in other modules. |
|
Date |
User |
Action |
Args |
2010-05-21 10:05:25 | mark.dickinson | set | recipients:
+ mark.dickinson, tim.peters, mcherm, rhettinger, belopolsky, vstinner, stutzbach |
2010-05-21 10:05:25 | mark.dickinson | set | messageid: <1274436325.08.0.0172233853982.issue1289118@psf.upfronthosting.co.za> |
2010-05-21 10:05:23 | mark.dickinson | link | issue1289118 messages |
2010-05-21 10:05:23 | mark.dickinson | create | |
|