Prelude-v21.1.0
Convert an Integer to the corresponding Double
Integer
Double
toDouble -3 ≡ -3.0
toDouble +2 ≡ 2.0
--| Convert an `Integer` to the corresponding `Double`let toDouble : Integer → Double = Integer/toDoublelet example0 = assert : toDouble -3 ≡ -3.0let example1 = assert : toDouble +2 ≡ 2.0in toDouble