bookshelf/Bookshelf/Real/Int.lean

10 lines
146 B
Plaintext
Raw Normal View History

2023-05-08 19:18:12 +00:00
import Mathlib.Data.Real.Basic
namespace Real
/--
Check whether a real number is an integer.
-/
def isInt (x : ) := x = Int.floor x
end Real