Go backward to Example Go up to Top Go forward to Illustration |
Definition: The floor of a real number x is the largest integer less than or equal x.
floor(x) := max {y in Z: y <= x}.
Analogously, the ceiling of x is the smallest integer greater than or equal x:
ceiling(x) := min {y in Z: y >= x}.
Functions mapping real numbers to integers.