Jump to content

Floor function

From Wikibase
Revision as of 17:14, 26 October 2026 by Rongzhou (talk | contribs) (Created page with "The '''floor function''', often denoted by $\lfloor \ \rfloor$, finds the largest integer no larger than a real number. {{Hidden example}} $$ \lfloor 4.5 \rfloor = 4 \\ \lfloor \pi \rfloor = 3 \\ \lfloor -1 \rfloor = -1 \\ $$ {{End hidden}} == Formal definition == $$ \lfloor \ \rfloor: \mathbb{R} \to \mathbb{N},\\ \forall x \in \mathbb{R},\, \lfloor x \rfloor = \begin{cases} x, & x \in \mathbb{N},\\ \max(\{n\in \mathbb{N}| n<x\}), & \text{elsewise}. \end{cases} $$")
(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{N},\\ \forall x \in \mathbb{R},\, \lfloor x \rfloor = \begin{cases} x, & x \in \mathbb{N},\\ \max(\{n\in \mathbb{N}| n<x\}), & \text{elsewise}. \end{cases} \end{gathered}$$