summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-12-17 21:09:26 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-12-17 21:09:26 -0800
commit0e696e94cdf30c3b5a14a36f2636d1cfe55d5d34 (patch)
tree5ee9ad31559caf490cccfc1790d57c7740a3232f /ChangeLog
parent293366c3410893f6937b507e2ca1f7ab192f1ad2 (diff)
downloadtxr-0e696e94cdf30c3b5a14a36f2636d1cfe55d5d34.tar.gz
txr-0e696e94cdf30c3b5a14a36f2636d1cfe55d5d34.tar.bz2
txr-0e696e94cdf30c3b5a14a36f2636d1cfe55d5d34.zip
* rand.c (rand32): Bugfix: if the seed object is a random
state, we do not want to make the 8 calls to rand32 to mix up the state; we need are making a straight copy. * txr.1: Document the possibility that the seed object is a random state. Document the platform-independence of the integer seed.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a3eb879..3c798b09 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
2014-12-17 Kaz Kylheku <kaz@kylheku.com>
+ * rand.c (rand32): Bugfix: if the seed object is a random
+ state, we do not want to make the 8 calls to rand32 to
+ mix up the state; we need are making a straight copy.
+
+ * txr.1: Document the possibility that the seed object
+ is a random state. Document the platform-independence of the
+ integer seed.
+
+2014-12-17 Kaz Kylheku <kaz@kylheku.com>
+
* rand.c (struct rand_state): Change cur member to unsigned.
This generates better code for rand32.