Jump to content

Floor function

From Wikibase
Revision as of 17:18, 26 October 2026 by Rongzhou (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Languages: English · français · Esperanto

The floor function, often denoted by $\lfloor \ \rfloor$, finds the largest integer no larger than a real number.

Formal definition

$$\begin{gathered} \lfloor \ \rfloor: \mathbb{R} \to \mathbb{Z},\\ \forall x \in \mathbb{R},\, \lfloor x \rfloor = \begin{cases} x, & x \in \mathbb{Z},\\ \max(\{z\in \mathbb{Z}| z<x\}), & \text{elsewise}. \end{cases} \end{gathered}$$

See also