This site is supported by donations to The OEIS Foundation.

Ceiling

From OeisWiki
(Redirected from Ceiling function)
Jump to navigationJump to search


This article page is a stub, please help by expanding it.


Ceiling is a function that gives the smallest integer above a given real number x. It is generally notated x, or in computer programming languages, ceil(x). For example, 48=7. For x0, x is the same as the integer part of x; but if x>0, then x is one more than the integer part. For example, π2=10, but for (πi)2=9.

See also floor, Help:Calculation#Sgn function template and abs/trunc/floor/ceil operators