Rounding function and rounding function

from Wikipedia, the free encyclopedia

The rounding function (also floor function , integer function , integer part function or Entier Brace ) and the ceiling function are functions that each real number with the closest not greater or is not smaller integer assign. The notation was named after Carl Friedrich Gauß , who introduced the symbol for the rounding function in 1808. End of the 20th century, the spread of Kenneth E. Iverson notation introduced and (Engl. Floor "floor") for the floor function as well and ( English ceiling "ceiling") for the ceiling function. In German, the word Gaussian bracket, without any additional additions, mostly refers to the original notation used by Gauss. The terms lower Gaussian bracket and upper Gaussian bracket are used to differentiate the variants introduced by Iverson .

Character set

The characters for the rounding and rounding function are further developed square brackets and can be coded as follows in the various environments:

LEFT FLOOR U+230A (HTML & # 8970; & lfloor;)
RIGHT FLOOR U+230B (HTML & # 8971; & rfloor;)
LEFT CEILING U+2308 (HTML & # 8968; & lceil;)
RIGHT CEILING U+2309 (HTML & # 8969; & rceil;)

In the LaTeX typesetting system , these characters can be specified as \lfloor, \rfloor, \lceiland in math mode \rceil.

Rounding function or Gaussian bracket

Rounding function or Gaussian bracket function


For a real number , the largest integer that is less than or equal to is:


  • Note that is not about the same . The definition calls for yes , and it is .


  • For all true
  • It always applies . Where is if and only if is an integer.
  • For every whole number and every real number applies
  • The following applies to all real numbers
  • The following applies to every whole number and every natural number
  • The rounding function is idempotent : it applies
  • If and are coprime natural numbers, then applies
  • The rounding function is not continuous , but above- semi- continuous .
  • For non-integer reals , the Fourier series of the -periodic function converges , and we have
  • Are and , then applies . It follows directly that if , . Furthermore also applies .

  • The following also applies to real numbers

Rounding function

Rounding function


For a real number, is the smallest integer that is greater than or equal to .



  • It applies analogously .
  • Are and , then applies . It follows directly that if , .

General properties

Gaussian brackets and decimal places

The following applies to positive numbers:

The function thereby yields the fractional part with .

Relationships between the rounding function

  • It is always therefore the rounding function can be obtained from the Gaussian bracket function by

  • It is always

  • The following applies to whole numbers :

Commercial rounding

The commercial rounding to the nearest whole number can also be expressed with these functions:

  • For
  • For

The function delivers the same result, albeit with a somewhat more complicated formula, but without differentiating between cases with regard to the sign of the argument

  • .

Web links

Individual evidence

  1. Earliest Uses of Function Symbols : Until recently [x] has been the standard symbol for the greatest integer function. According to Grinstein (1970), "The use of the bracket notation, which has led some authors to term this the bracket function , stems back to the work of Gauss (1808) in number theory. The function is also referred to by Legendre who used the now obsolete notation E (x). " The Gauss reference is to Theorematis arithmetici demonstratio nova . Works Volume: Vol. 2 p. 5. (accessed July 25, 2009).
  2. Earliest Known Uses of Some of the Words of Mathematics (C) : The terms Ceiling Function and appear in Kenneth E. Iverson's A Programming Language (1962, p. 12): “Two functions are defined: 1. the floor of x ( or integral part of x) denoted by and defined as the largest integer not exceeding x, 2. the ceiling of x denoted by and defined as the smallest integer not exceeded by x. " This was the first appearance of the terms and symbols, according to RL Graham , DE Knuth & O. Patashnik Concrete Mathematics: A Foundation for Computer Science (1989, p. 67). (accessed on July 25, 2009).
  3. ^ Max Koecher: Classical elementary analysis . Springer, 2013, ISBN 978-3-0348-5167-1 , p. 115
  4. ^ Konrad Königsberger: Analysis 1 . Springer, 3rd edition, 2013, ISBN 978-3-642-97622-3 , p. 28
  5. Jürgen Large: Basic Statistics with R: An application-oriented introduction to the use of statistical software R . Springer, 2010, ISBN 978-3-8348-1039-7 , pp. 33-34