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:

    “Before she has her floor swept
    Or her dishes done.
    Any day you’ll find her
    A-sunning in the sun!”
    —Edna St. Vincent Millay (1892–1950)

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

    “When Western people train the mind, the focus is generally on the left hemisphere of the cortex, which is the portion of the brain that is concerned with words and numbers. We enhance the logical, bounded, linear functions of the mind. In the East, exercises of this sort are for the purpose of getting in tune with the unconscious—to get rid of boundaries, not to create them.”
    —Edward T. Hall (b. 1914)