Author serhiy.storchaka
Recipients mark.dickinson, serhiy.storchaka
Date 2019-05-11.14:35:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557585349.68.0.883021738867.issue36887@roundup.psfhosted.org>
In-reply-to
Content
What do you think about adding two integer square root functions -- for the largest int `a` satisfying `a * a <= n` and for the smallest int `a` satisfying `a * a >= n`? The latter case is also often encounter in practice. For example, this is the size of the smallest square table in which we can place n items, not more than one per cell. We could call these functions fllorsqtr() and ceilsqrt() (if there are no better standard names).
History
Date User Action Args
2019-05-11 14:35:49serhiy.storchakasetrecipients: + serhiy.storchaka, mark.dickinson
2019-05-11 14:35:49serhiy.storchakasetmessageid: <1557585349.68.0.883021738867.issue36887@roundup.psfhosted.org>
2019-05-11 14:35:49serhiy.storchakalinkissue36887 messages
2019-05-11 14:35:49serhiy.storchakacreate