Square root of integers #
This file defines the square root function on integers. Int.sqrt z
is the greatest integer r
such that r * r ≤ z
. If z ≤ 0
, then Int.sqrt z = 0
.
@[simp]
This file defines the square root function on integers. Int.sqrt z
is the greatest integer r
such that r * r ≤ z
. If z ≤ 0
, then Int.sqrt z = 0
.