Author tim.peters
Recipients mark.dickinson, rhettinger, serhiy.storchaka, steven.daprano, tim.peters
Date 2019-05-14.02:37:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557801434.86.0.228630143238.issue36887@roundup.psfhosted.org>
In-reply-to
Content
+1 from me!  I'm tired of re-inventing this too :-)

Agree with every point Mark made.

Just in passing, noting a triviality:  for the ceiling, `1 + isqrt(n - 1)` fails when `n` is zero.

But I've never had a use for the ceiling here, or for "nearest" - just the floor.  Also for `iroot(n, k)` for k'th root floors with k > 2, but that too can wait.
History
Date User Action Args
2019-05-14 02:37:14tim.peterssetrecipients: + tim.peters, rhettinger, mark.dickinson, steven.daprano, serhiy.storchaka
2019-05-14 02:37:14tim.peterssetmessageid: <1557801434.86.0.228630143238.issue36887@roundup.psfhosted.org>
2019-05-14 02:37:14tim.peterslinkissue36887 messages
2019-05-14 02:37:14tim.peterscreate