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