[project @ 1997-11-13 16:54:56 by simonm]
authorsimonm <unknown>
Thu, 13 Nov 1997 16:54:56 +0000 (16:54 +0000)
committersimonm <unknown>
Thu, 13 Nov 1997 16:54:56 +0000 (16:54 +0000)
correct minBound for Ints.

ghc/lib/ghc/PrelBase.lhs

index 2957361..6f2c47b 100644 (file)
@@ -583,8 +583,8 @@ eftInt now step
 
 
 instance  Bounded Int where
-    minBound =  negate 2147483647   -- **********************
-    maxBound =  2147483647         -- **********************
+    minBound =  negate 214748367 - 1   -- **********************
+    maxBound =  2147483647            -- **********************
 
 instance  Num Int  where
     (+)           x y =  plusInt x y