
#8899: StdGen does not generate 0 -------------------------------------+------------------------------------ Reporter: novadenizen | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries/random | Version: 7.9 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: Other | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by novadenizen): It ran overnight and I forgot to use `time`, so I'm not sure. Running with 20 billion iterations took 36 minutes on my linode, though, so I would expect it took about 6 hours. I just now reran this tool looking for `v == 3` and it output `Just 871055575`, which is reasonable. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8899#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler