Ceiling

Written by Nate Soares last updated

The ceiling of a real number denoted or sometimes is the first Integer For example, and In other words, the ceiling function rounds its input up to the nearest integer.

For the function that rounds its input down to the nearest integer, see Floor. Ceiling and floor are not to be confused with fix and Ceilfix, which round towards and away from zero (respectively).

Formally, ceiling is a function of type The ceiling function can also be defined on complex numbers.

Parents: