Floor Function for Rational Numbers
Summary
We define the floor function and the floor_ring instance on ℚ.
Tags
rat, rationals, ℚ, floor
@[instance]
Equations
- rat.floor_ring = {floor := rat.floor, le_floor := rat.le_floor}
data.rat.floor
We define the floor function and the floor_ring instance on ℚ.
rat, rationals, ℚ, floor