Mathlib Map

Theorems · Definition · number theory

round

{α : Type u_2} → [inst : Ring α] → [inst_1 : LinearOrder α] → [FloorRing α] → α → ℤ

round x rounds x to the nearest integer, breaking ties towards positive infinity. round (0.5 : ℚ) = 1.

Defined in
Mathlib.Algebra.Order.Round
Cited by
49 results in Mathlib
Foundations
Depth 19 from the axioms · uses propext
Assumes
RingLinearOrderFloorRing

Around this declaration

Dashed lines are statement dependencies; solid lines are citations in proofs.

Cites6

Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.

Cited by50

Results whose statement or proof uses this declaration.