Message342239
Yes please for this!
The two usual versions are isqrt and nsqrt:
isqrt(n) = largest integer ≤ √n
nsqrt(n) = closest integer to √n
although to be honest I'm not sure what use cases there are for nsqrt. |
|
Date |
User |
Action |
Args |
2019-05-12 04:41:06 | steven.daprano | set | recipients:
+ steven.daprano, mark.dickinson, serhiy.storchaka |
2019-05-12 04:41:05 | steven.daprano | set | messageid: <1557636065.97.0.63884974058.issue36887@roundup.psfhosted.org> |
2019-05-12 04:41:05 | steven.daprano | link | issue36887 messages |
2019-05-12 04:41:05 | steven.daprano | create | |
|