Brad Smith
041f981960
rand() use XOR to break up unwanted pair correlation ( #1107 )
...
* rand() use XOR to break up unwanted pair correlation
This form of rand() cannot return the same value twice in a row.
Two additonal EOR instructions produce a more even distribution of successive pairs.
see comments on #951
* rand.s document purpose of XOR
* suggested srand() optimization: zero fill unnecessary
* test to validate implementation of rand()
* srand() improving behaviour and adding startup test
* srand() with a tail call to rand() for better initial shuffle
* srand() can fall through to rand() instead of tail call
2020-07-21 23:38:18 +02:00
..
2020-07-12 23:11:43 +02:00
2018-05-13 18:54:45 -04:00
2018-05-13 18:54:45 -04:00
2018-05-12 13:46:16 -04:00
2020-07-13 21:25:13 +02:00
2019-07-20 17:21:42 +02:00
2020-07-08 17:20:15 +02:00
2017-03-21 22:35:25 +01:00
2017-03-21 22:35:25 +01:00
2019-04-02 16:34:22 +02:00
2018-10-16 09:45:30 +02:00
2019-04-25 15:19:53 +02:00
2019-05-27 10:03:25 +02:00
2020-07-21 19:24:39 +02:00
2020-07-09 15:57:51 +02:00
2020-07-21 20:02:51 +02:00
2020-07-20 17:16:11 -04:00
2020-07-12 23:11:43 +02:00
2020-07-12 23:11:43 +02:00
2020-07-12 23:11:43 +02:00
2020-07-12 23:11:43 +02:00
2019-01-05 14:57:12 -05:00
2019-02-12 22:50:49 +01:00
2019-04-30 18:21:13 +02:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2019-02-12 22:50:49 +01:00
2020-07-09 16:05:57 +02:00
2020-07-09 16:05:57 +02:00
2020-07-09 16:05:57 +02:00
2020-07-09 16:05:57 +02:00
2020-07-21 19:24:39 +02:00
2019-04-30 18:21:13 +02:00
2020-02-03 20:45:09 +01:00
2017-04-04 15:45:24 +02:00
2019-03-29 22:53:04 +01:00
2017-04-04 15:51:00 +02:00
2017-04-04 15:52:01 +02:00
2017-04-04 15:52:37 +02:00
2017-04-04 15:53:14 +02:00
2019-02-12 22:50:49 +01:00
2020-07-13 21:26:31 +02:00
2019-02-12 22:50:49 +01:00
2020-06-23 00:46:12 +02:00
2020-06-23 00:46:12 +02:00
2020-06-23 00:46:12 +02:00
2020-06-23 00:46:12 +02:00
2020-06-23 00:46:12 +02:00
2020-06-23 00:46:12 +02:00
2020-06-23 00:46:12 +02:00
2020-06-23 00:46:12 +02:00
2019-02-12 22:50:49 +01:00
2020-07-21 14:58:15 +02:00
2020-07-21 15:30:35 +02:00
2020-07-21 14:58:15 +02:00
2020-07-21 14:58:15 +02:00
2020-07-21 21:04:41 +02:00
2020-06-23 00:46:12 +02:00
2020-06-23 00:46:12 +02:00
2020-06-23 00:46:12 +02:00
2020-06-23 00:46:12 +02:00
2020-06-23 00:46:12 +02:00
2020-06-23 00:46:12 +02:00
2020-06-23 00:46:12 +02:00
2020-06-23 00:46:12 +02:00
2019-02-12 22:50:49 +01:00
2020-07-21 23:38:18 +02:00
2020-07-13 21:25:13 +02:00
2020-07-13 21:26:07 +02:00
2020-07-13 21:26:07 +02:00
2020-07-13 21:26:07 +02:00
2020-07-13 21:26:07 +02:00
2020-07-13 21:26:07 +02:00
2020-07-13 21:25:13 +02:00
2020-07-13 21:25:13 +02:00
2020-07-13 21:26:07 +02:00
2018-08-02 15:45:57 +02:00
2019-07-16 13:16:02 -04:00
2019-07-16 13:16:02 -04:00
2019-07-16 13:16:02 -04:00
2017-03-12 14:41:32 -04:00
2017-04-07 09:26:58 -04:00