|
|
|
Glossary:
Prime Pages:
Top 5000:
|
The ceiling function of x,
historically called the least integer function,
is the least integer greater than or equal to
x. This function is usually
written Examples: ceiling(3.14159)=4, ceiling(-3.14159)=-3, and ceiling(n)=n for all integers n. As a more complicated example, we note that Lame's Theorem implies that the Euclidean algorithm takes at most ceiling(x) "division steps" where x is the number of digits in the smaller of the two numbers,
See Also: FloorFunction References:
Chris K. Caldwell © 1999-2013 (all rights reserved)
|