projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d3ef5e
)
[project @ 1997-11-13 16:54:56 by simonm]
author
simonm
<unknown>
Thu, 13 Nov 1997 16:54:56 +0000
(16:54 +0000)
committer
simonm
<unknown>
Thu, 13 Nov 1997 16:54:56 +0000
(16:54 +0000)
correct minBound for Ints.
ghc/lib/ghc/PrelBase.lhs
patch
|
blob
|
history
diff --git
a/ghc/lib/ghc/PrelBase.lhs
b/ghc/lib/ghc/PrelBase.lhs
index
2957361
..
6f2c47b
100644
(file)
--- a/
ghc/lib/ghc/PrelBase.lhs
+++ b/
ghc/lib/ghc/PrelBase.lhs
@@
-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