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 mark.dickinson
Recipients mark.dickinson, serhiy.storchaka
Date 2019-05-11.14:40:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557585606.38.0.0750536687024.issue36887@roundup.psfhosted.org>
In-reply-to
Content
> for the smallest int `a` satisfying `a * a >= n`

I'd spell that as `1 + isqrt(n - 1)`. I'd prefer to keep things simple and just add the one building block, rather than adding multiple variants.
History
Date User Action Args
2019-05-11 14:40:06mark.dickinsonsetrecipients: + mark.dickinson, serhiy.storchaka
2019-05-11 14:40:06mark.dickinsonsetmessageid: <1557585606.38.0.0750536687024.issue36887@roundup.psfhosted.org>
2019-05-11 14:40:06mark.dickinsonlinkissue36887 messages
2019-05-11 14:40:06mark.dickinsoncreate