[Haskell-cafe] Optimization flag changing result of code execution

Dominic Steinitz dominic at steinitz.org
Sun Mar 17 18:49:39 CET 2013


Aleksey Khudyakov <alexey.skladnoy <at> gmail.com> writes:

> I've tried to run you program and I've got approximately same results 
> regardless of optimization level. Which versions of GHC, mwc-random, 
> vector and primitive do you use?
> 

By approximate do you mean you are getting Monte Carlo noise
or Floating Point noise? If the latter then that's reasonable;
if the former then that's worrying.

Dominic.





More information about the Haskell-Cafe mailing list