Integer division that rounds up

From wikiluntti

Introduction

Usual integer division rounds down: for Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle a,b \in \mathbb N, b\neq 0} . To round up (if overflow is not an issue), you can use following algorithm with the usual roundig down division: Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle q = \frac{x+y-1}{y} = \left \lceil \frac xy \right \rceil }