|
Re: [GHC] #801: random list from randomseed ... amd64 differs: msg#00158lang.haskell.glasgow.bugs
#801: random list from randomseed ... amd64 differs -----------------------+---------------------------------------------------- Reporter: caaadar | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 6.4.2 Severity: normal | Resolution: Keywords: | Os: Linux Difficulty: Unknown | Architecture: x86_64 (amd64) -----------------------+---------------------------------------------------- Changes (by simonpj): * cc: => lennart@xxxxxxxxxxxxxx Comment: Lennart I think you made the System.Random library. Can you help with this bug? The reason seems to be that in randomIvalDouble we use {{{ toInteger (minBound::Int), toInteger (maxBound::Int) }}} and the bounds for Int are of course different on 32 and 64 bit machines. Ominously, your comment at the top suggests that the whole library may only work for "32-bit computers". We're out of our depth... thanks Simon -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/801> 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: | Re: [GHC] #804: Signal handlers always installed, evem in a DLL, GHC |
|---|---|
| Next by Date: | Re: [GHC] #349: Strange GADT behaviour, GHC |
| Previous by Thread: | Re: [GHC] #801: random list from randomseed ... amd64 differs, GHC |
| Next by Thread: | Re: [GHC] #801: random list from randomseed ... amd64 differs, Lennart Augustsson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |