Message342419
+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:14 | tim.peters | set | recipients:
+ tim.peters, rhettinger, mark.dickinson, steven.daprano, serhiy.storchaka |
2019-05-14 02:37:14 | tim.peters | set | messageid: <1557801434.86.0.228630143238.issue36887@roundup.psfhosted.org> |
2019-05-14 02:37:14 | tim.peters | link | issue36887 messages |
2019-05-14 02:37:14 | tim.peters | create | |
|