Author mark.dickinson
Recipients belopolsky, mark.dickinson, mcherm, rhettinger, stutzbach, tim.peters, vstinner
Date 2010-05-21.10:05:23
SpamBayes Score 0.045213
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.
History
Date User Action Args
2010-05-21 10:05:25mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, mcherm, rhettinger, belopolsky, vstinner, stutzbach
2010-05-21 10:05:25mark.dickinsonsetmessageid: <1274436325.08.0.0172233853982.issue1289118@psf.upfronthosting.co.za>
2010-05-21 10:05:23mark.dickinsonlinkissue1289118 messages
2010-05-21 10:05:23mark.dickinsoncreate