Alperen Erkan, le mar. 24 nov. 2026 21:55:17 +0300, a ecrit:
> To round up to whole pages, add one page when the division leaves a remainder.
>  For a nonnegative size and a positive page_size, I’d use size / page_size +
> (size % page_size != 0).

This seems more complex than the very common

>  (size + page_size-1) / page_size

Samuel

Reply via email to