|
Re: [GHC] #801: random list from randomseed ... amd64 differs: msg#00156lang.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) -----------------------+---------------------------------------------------- Old description: > I have the following: > > > randomList::Int->[Double] > > randomList seed = randoms (mkStdGen seed)::[Double] > > randomList 2342 on Linux/amd64 differs from Linux/x86 and Mac/PPC (all i > were able to find out) > > on Linux/x86 it is the same as on Mac/PPC. > > is that a bug ? mkStdGen should produce proper (reproduceable) > Pseudorandomnumbers but they are not inter-OS-reproduceable New description: I have the following: {{{ > randomList::Int->[Double] > randomList seed = randoms (mkStdGen seed)::[Double] }}} randomList 2342 on Linux/amd64 differs from Linux/x86 and Mac/PPC (all i were able to find out) on Linux/x86 it is the same as on Mac/PPC. is that a bug? `mkStdGen` should produce proper (reproduceable) Pseudorandomnumbers but they are not inter-OS-reproduceable -- 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] #810: GHC complains about missing instance in conjunction with GADTs, GHC |
|---|---|
| Next by Date: | Re: [GHC] #804: Signal handlers always installed, evem in a DLL, GHC |
| Previous by Thread: | Re: [GHC] #810: GHC complains about missing instance in conjunction with GADTs, GHC |
| Next by Thread: | Re: [GHC] #801: random list from randomseed ... amd64 differs, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |