Floor and Ceiling Functions

Floor and ceiling functions

Floor function Ceiling function

In mathematics and computer science, the floor and ceiling functions map a real number to the largest previous or the smallest following integer, respectively. More precisely, floor(x) = is the largest integer not greater than x and ceiling(x) = is the smallest integer not less than x.

Read more about Floor And Ceiling Functions:  Notation, Definition and Properties, Computer Implementations

Famous quotes containing the words floor, ceiling and/or functions:

    Four and twenty at her back
    And they were a’ clad out in green;
    Tho the King of Scotland had been there
    The warst o’ them might hae been his Queen.

    On we lap and awa we rade
    Till we cam to yon bonny ha’
    Whare the roof was o’ the beaten gold
    And the floor was o’ the cristal a’.
    —Unknown. The Wee Wee Man (l. 21–28)

    Spooky things happen in houses densely occupied by adolescent boys. When I checked out a four-inch dent in the living room ceiling one afternoon, even the kid still holding the baseball bat looked genuinely baffled about how he possibly could have done it.
    Mary Kay Blakely (20th century)

    The mind is a finer body, and resumes its functions of feeding, digesting, absorbing, excluding, and generating, in a new and ethereal element. Here, in the brain, is all the process of alimentation repeated, in the acquiring, comparing, digesting, and assimilating of experience. Here again is the mystery of generation repeated.
    Ralph Waldo Emerson (1803–1882)