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:

    “They seldom looked happy. They passed one another without a word in the elevator, like silent shades in hell, hell-bent on their next look from a handsome stranger. Their next rush from a popper. The next song that turned their bones to jelly and left them all on the dance floor with heads back, eyes nearly closed, in the ecstasy of saints receiving the stigmata.”
    —Andrew Holleran (b. 1943)

    “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)

    “If photography is allowed to stand in for art in some of its functions it will soon supplant or corrupt it completely thanks to the natural support it will find in the stupidity of the multitude. It must return to its real task, which is to be the servant of the sciences and the arts, but the very humble servant, like printing and shorthand which have neither created nor supplanted literature.”
    —Charles Baudelaire (1821–1867)