Definition and Properties
In the following formulas, x and y are real numbers, k, m, and n are integers, and is the set of integers (positive, negative, and zero).
Floor and ceiling may be defined by the set equations
Since there is exactly one integer in a half-open interval of length one, for any real x there are unique integers m and n satisfying
Then and may also be taken as the definition of floor and ceiling.
Read more about this topic: Floor And Ceiling Functions
Famous quotes containing the words definition and/or properties:
“The definition of good prose is proper words in their proper places; of good verse, the most proper words in their proper places. The propriety is in either case relative. The words in prose ought to express the intended meaning, and no more; if they attract attention to themselves, it is, in general, a fault.”
—Samuel Taylor Coleridge (17721834)
“A drop of water has the properties of the sea, but cannot exhibit a storm. There is beauty of a concert, as well as of a flute; strength of a host, as well as of a hero.”
—Ralph Waldo Emerson (18031882)