Do you get the two different results on the same machine or does it only vary across machines? The latter can happen if the two machines have different instruction sets as the order of operations can then vary. May I ask why this is a concern? The difference doesn’t have any practical implications for a statistical computation.
same machine. presumably same x and y, after a seed init. always a new julia command line start, with nothing else invoked earlier…
I stumbled onto this, because my cookbook has an automatic checker, which confirms that the results are still the same. when it tripped, I changed the output, ran again. after a few more such checks, it triggered again.
it’s a nuisance, not a problem. nevertheless, it would be nice to have determinate output. one way to solve this nuisance is to round the output to something that is not so near machine precision. like 5 significant digits.