This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients aikimark1955, mark.dickinson, rhettinger, serhiy.storchaka, tim.peters
Date 2019-11-16.12:38:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1573907884.67.0.44965764349.issue38813@roundup.psfhosted.org>
In-reply-to
Content
> math.floor(), which does return an int, [...] and I believe it was a mistake to change it to return an int.

What about math.trunc() and round()? Should they return int or float?

And what about the result of the floor division of floats? Should it be int or float?
History
Date User Action Args
2019-11-16 12:38:04serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, rhettinger, mark.dickinson, aikimark1955
2019-11-16 12:38:04serhiy.storchakasetmessageid: <1573907884.67.0.44965764349.issue38813@roundup.psfhosted.org>
2019-11-16 12:38:04serhiy.storchakalinkissue38813 messages
2019-11-16 12:38:04serhiy.storchakacreate