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)

    What made the ceiling waterproof?
    Landor’s tarpaulin on the roof.
    William Butler Yeats (1865–1939)

    One of the most highly valued functions of used parents these days is to be the villains of their children’s lives, the people the child blames for any shortcomings or disappointments. But if your identity comes from your parents’ failings, then you remain forever a member of the child generation, stuck and unable to move on to an adulthood in which you identify yourself in terms of what you do, not what has been done to you.
    Frank Pittman (20th century)