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 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 <>
+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.
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: <>
2019-05-14 02:37:14tim.peterslinkissue36887 messages
2019-05-14 02:37:14tim.peterscreate