|
[GHC] #867: Integer arithmetic gives the wrong answer on amd64/Linux: msg#00100lang.haskell.glasgow.bugs
#867: Integer arithmetic gives the wrong answer on amd64/Linux -------------------------------+-------------------------------------------- Reporter: igloo | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 6.4.1 Severity: normal | Keywords: Os: Linux | Difficulty: Unknown Architecture: x86_64 (amd64) | -------------------------------+-------------------------------------------- On x86 I get: {{{ Prelude> reverse $ take 10 $ reverse $ show $ sum [ x ^ x | x <- [1..1000] ] "9110846700" }}} which is correct, but on amd64/Linux I get: {{{ Prelude> reverse $ take 10 $ reverse $ show $ sum [ x ^ x | x <- [1..1000] ] "0612504812" }}} Both ghci's above are 6.4.1, but I also see it with the HEAD (a few days old). Seen on Debian, Gentoo and rpath distributions. Thanks Ian -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/867> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [GHC] #866: Building unregistarized version, GHC |
|---|---|
| Next by Date: | Re: [GHC] #867: Integer arithmetic gives the wrong answer on amd64/Linux, GHC |
| Previous by Thread: | [GHC] #866: Building unregistarized version, GHC |
| Next by Thread: | Re: [GHC] #867: Integer arithmetic gives the wrong answer on amd64/Linux, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |