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:

    “Trams and dusty trees.
    Highbury bore me. Richmond and Kew
    Undid me. By Richmond I raised my knees
    Supine on the floor of a narrow canoe.”
    —T.S. (Thomas Stearns)

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

    Nobody is so constituted as to be able to live everywhere and anywhere; and he who has great duties to perform, which lay claim to all his strength, has, in this respect, a very limited choice. The influence of climate upon the bodily functions ... extends so far, that a blunder in the choice of locality and climate is able not only to alienate a man from his actual duty, but also to withhold it from him altogether, so that he never even comes face to face with it.
    Friedrich Nietzsche (1844–1900)