On Thu, Jun 30, 2016 at 5:18 PM, Christopher Larson <[email protected]> wrote:
> From: Christopher Larson <[email protected]> > > This was rounded in python 2, but python 3 changed the default behavior of > /. > We could switch to the same behavior as previous by switching to // rather > than /, but there's value in keeping at least one decimal point, to avoid > the > misleading case where it says 0% but the reuse is non-zero. > > Signed-off-by: Christopher Larson <[email protected]> > Hold off on this, should probably address the rounding via the formatting, otherwise we'll only get good results when the number can be fully represented by the float type. -- Christopher Larson kergoth at gmail dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
