The floor of a real number
is the largest integer that is less than
or equal to
. The ceiling of a real number
is the least integer
that is greater than or equal to
. The floor of
is usually
represented as
, whereas the ceiling of
is usually represented as
. Because of their similarities,
we will only consider the floor function here.
The floor function is a function because every real number
has
defined. In other words,
.
The floor function is not an injection because
.
The floor function is a surjection because
.
Copyright © 2006-10-28 by Tak Auyeung