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 nagayev
Recipients josh.r, lemburg, mark.dickinson, nagayev, rhettinger, stutzbach, zach.ware
Date 2019-03-08.16:18:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552061915.71.0.404786049281.issue36228@roundup.psfhosted.org>
In-reply-to
Content
>For those rare cases where this is needed, it isn't that hard to spell out `complex(floor(z.real)
But in Python we have math.tau. However it's just 2*pi.
>`math.floor` of a `float` object returns an `int`
Maybe the best solution is to add functions floor and ceil to cmath module and edit floor and ceil function (in case passing complex argument these function could raise TypeError)
History
Date User Action Args
2019-03-08 16:18:35nagayevsetrecipients: + nagayev, lemburg, rhettinger, mark.dickinson, stutzbach, zach.ware, josh.r
2019-03-08 16:18:35nagayevsetmessageid: <1552061915.71.0.404786049281.issue36228@roundup.psfhosted.org>
2019-03-08 16:18:35nagayevlinkissue36228 messages
2019-03-08 16:18:35nagayevcreate