@@ -37,7 +37,7 @@ instance Eq Int where
3737instance Eq Integer where
3838 (==) = boolOp prim__eqBigInt
3939
40−instance Eq Float where
40+instance Eq Double where
4141 (==) = boolOp prim__eqFloat
4242
4343instance Eq Char where
@@ -118,7 +118,7 @@ instance Ord Integer where
118118 GT
119119
120120
121−instance Ord Float where
121+instance Ord Double where
122122 compare x y = if (x == y) then EQ else
123123 if (boolOp prim__sltFloat x y) then LT else
124124 GT
@@ -170,7 +170,7 @@ instance Num Int where
170170 fromInteger = prim__truncBigInt_Int
171171
172172
173−instance Num Float where
173+instance Num Double where
174174 (+) = prim__addFloat
175175 (*) = prim__mulFloat
176176
@@ -215,7 +215,7 @@ instance Neg Int where
215215 (-) = prim__subInt
216216 abs x = if x < (prim__truncBigInt_Int 0) then -x else x
217217
218−instance Neg Float where
218+instance Neg Double where
219219 negate x = prim__negFloat x
220220 (-) = prim__subFloat
221221 abs x = if x < (prim__toFloatBigInt 0) then -x else x
@@ -306,8 +306,8 @@ instance MaxBound Bits64 where
306306
307307-- ------------------------------------------------------------- [ Fractionals ]
308308
309−||| Fractional division of two Floats.
310−(/) : Float -> Float -> Float
309+||| Fractional division of two Doubles.
310+(/) : Double -> Double -> Double
311311(/) = prim__divFloat
312312
313313