Message106223
| Author |
mark.dickinson |
| Recipients |
belopolsky, mark.dickinson, mcherm, rhettinger, stutzbach, tim.peters, vstinner |
| Date |
2010年05月21日.10:05:23 |
| SpamBayes Score |
0.045213044 |
| Marked as misclassified |
No |
| Message-id |
<1274436325.08.0.0172233853982.issue1289118@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|