@@ -37,7 +37,7 @@ instance Eq Int where
37instance Eq Integer where
37instance Eq Integer where
38 (==) = boolOp prim__eqBigInt
38 (==) = boolOp prim__eqBigInt
40−instance Eq Float where
40+instance Eq Double where
41 (==) = boolOp prim__eqFloat
41 (==) = boolOp prim__eqFloat
43instance Eq Char where
43instance Eq Char where
@@ -118,7 +118,7 @@ instance Ord Integer where
121−instance Ord Float where
121+instance Ord Double where
122 compare x y = if (x == y) then EQ else
122 compare x y = if (x == y) then EQ else
123 if (boolOp prim__sltFloat x y) then LT else
123 if (boolOp prim__sltFloat x y) then LT else
@@ -170,7 +170,7 @@ instance Num Int where
170 fromInteger = prim__truncBigInt_Int
170 fromInteger = prim__truncBigInt_Int
173−instance Num Float where
173+instance Num Double where
174 (+) = prim__addFloat
174 (+) = prim__addFloat
175 (*) = prim__mulFloat
175 (*) = prim__mulFloat
@@ -215,7 +215,7 @@ instance Neg Int where
215 (-) = prim__subInt
215 (-) = prim__subInt
216 abs x = if x < (prim__truncBigInt_Int 0) then -x else x
216 abs x = if x < (prim__truncBigInt_Int 0) then -x else x
218−instance Neg Float where
218+instance Neg Double where
219 negate x = prim__negFloat x
219 negate x = prim__negFloat x
220 (-) = prim__subFloat
220 (-) = prim__subFloat
221 abs x = if x < (prim__toFloatBigInt 0) then -x else x
221 abs x = if x < (prim__toFloatBigInt 0) then -x else x
@@ -306,8 +306,8 @@ instance MaxBound Bits64 where
307-- ------------------------------------------------------------- [ Fractionals ]
307-- ------------------------------------------------------------- [ Fractionals ]
309−||| Fractional division of two Floats.
309+||| Fractional division of two Doubles.
310−(/) : Float -> Float -> Float
310+(/) : Double -> Double -> Double
311(/) = prim__divFloat
311(/) = prim__divFloat