maths.ceil ========== .. py:module:: maths.ceil .. autoapi-nested-parse:: https://en.wikipedia.org/wiki/Floor_and_ceiling_functions Functions --------- .. autoapisummary:: maths.ceil.ceil Module Contents --------------- .. py:function:: ceil(x: float) -> int Return the ceiling of x as an Integral. :param x: the number :return: the smallest integer >= x. >>> import math >>> all(ceil(n) == math.ceil(n) for n ... in (1, -1, 0, -0, 1.1, -1.1, 1.0, -1.0, 1_000_000_000)) True