Sorry, used the wrong sending address again.  Brad

-------- Forwarded Message --------
Subject: Fix cross-platform reproducibility
Date: Mon, 6 Mar 2023 15:39:12 -0500
From: Bradley Lucier <luc...@math.purdue.edu>
To: srfi-194@srfi.schemers.org
CC: luc...@purdue.edu

I just sent a pull request with the following comment:

Enhance cross-platform reproducibility

The evaluation order of arguments is not specified in Scheme, and different implementations evaluate arguments in different orders.

If these arguments are calls to random number generators, then different Scheme implementations can return different results for simulations, which is not good.

Here we fix the order of evaluation of random number generators in make-normal-generator and binomial-rejection, so there can be no ambiguity in the order that random procedures are called.

Reply via email to