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 steven.daprano
Recipients mark.dickinson, serhiy.storchaka, steven.daprano
Date 2019-05-12.04:41:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557636065.97.0.63884974058.issue36887@roundup.psfhosted.org>
In-reply-to
Content
Yes please for this!

The two usual versions are isqrt and nsqrt:

isqrt(n) = largest integer ≤ √n

nsqrt(n) = closest integer to √n

although to be honest I'm not sure what use cases there are for nsqrt.
History
Date User Action Args
2019-05-12 04:41:06steven.dapranosetrecipients: + steven.daprano, mark.dickinson, serhiy.storchaka
2019-05-12 04:41:05steven.dapranosetmessageid: <1557636065.97.0.63884974058.issue36887@roundup.psfhosted.org>
2019-05-12 04:41:05steven.dapranolinkissue36887 messages
2019-05-12 04:41:05steven.dapranocreate