Message342192
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). |
|
| Date |
User |
Action |
Args |
| 2019-05-11 14:35:49 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mark.dickinson |
| 2019-05-11 14:35:49 | serhiy.storchaka | set | messageid: <[email protected]> |
| 2019-05-11 14:35:49 | serhiy.storchaka | link | issue36887 messages |
| 2019-05-11 14:35:49 | serhiy.storchaka | create | |
|