Category. Mathematics.
Abstract. Ceiling: definition, plot and properties.
Reference. This article is a part of Librow professional formula calculator project.
See also. Floor function.
Ceiling is the nearest integer to the righ — smallest integer greater than or equal to the argument.
Ceiling function defined everywhere on real axis — so, its domain is (−∞, +∞). Its stair-like plot is depicted below — fig. 1.
[画像:Plot of the ceiling function y = ceil x.] Fig. 1. Plot of the ceiling function y = ceilx.Function codomain is the set of integer numbers.
When using the function be aware, that in general case:
ceil(x) + ceil(y) ≠ ceil(x + y) ceil(x) − ceil(y) ≠ ceil(x − y) ceil(x) ceil(y) ≠ ceil(x y) ceil(x) /ceil(y) ≠ ceil(x /y)Ceiling function ceil of the complex argument is supported by professional version of the Librow calculator.
To calculate ceiling of the number:
ceil(-1.8);To calculate ceiling of the current result:
ceil(rslt);To calculate ceiling of the number x in memory:
ceil(mem[x]);