ache
bfed8b7764
1) Unifdef USE_WEAK_SEEDING it is too obsolete to support and makes reading
...
harder.
2) ACM paper require seed to be in [1, 2^31-2] range, so use the same range
shifting as already done for rand(3). Also protect srandomdev() + TYPE_0 case
(non default) from negative seeds.
3) Don't check for valid "type" range in setstate(), it is always valid as
calculated. Instead add a check that rear pointer not exceeed end pointer.
MFC after: 1 week
2016-05-29 11:54:09 +00:00
..
2016-05-13 04:03:20 +00:00
2014-06-23 08:25:03 +00:00
2013-05-28 20:57:40 +00:00
2015-09-20 20:24:28 +00:00
2013-05-28 20:57:40 +00:00
2015-09-20 20:24:28 +00:00
2013-05-28 20:57:40 +00:00
2014-12-21 12:36:36 +00:00
2015-09-20 20:15:44 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2015-09-20 20:24:28 +00:00
2013-05-28 20:57:40 +00:00
2015-09-20 20:24:28 +00:00
2013-05-28 20:57:40 +00:00
2015-09-20 20:24:28 +00:00
2015-09-20 20:24:28 +00:00
2014-04-02 16:07:48 +00:00
2013-05-28 20:57:40 +00:00
2015-09-20 20:24:28 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2014-12-21 12:36:36 +00:00
2015-09-20 20:24:28 +00:00
2013-05-28 20:57:40 +00:00
2013-07-17 08:45:27 +00:00
2013-12-13 21:50:03 +00:00
2014-06-22 21:54:57 +00:00
2014-07-08 12:19:34 +00:00
2014-06-22 20:13:57 +00:00
2013-05-28 20:57:40 +00:00
2014-01-14 01:52:34 +00:00
2015-12-27 07:50:11 +00:00
2015-12-27 07:50:11 +00:00
2015-12-27 07:50:11 +00:00
2015-12-27 07:50:11 +00:00
2014-04-02 16:07:48 +00:00
2016-04-30 01:24:24 +00:00
2015-12-27 07:50:11 +00:00
2015-12-27 07:50:11 +00:00
2016-05-26 20:55:15 +00:00
2013-06-13 00:19:30 +00:00
2015-09-20 20:24:28 +00:00
2013-06-13 00:19:30 +00:00
2013-06-13 00:19:30 +00:00
2016-04-17 18:25:34 +00:00
2014-10-24 23:25:44 +00:00
2015-12-27 07:50:11 +00:00
2013-06-13 00:19:30 +00:00
2015-09-20 20:15:44 +00:00
2014-04-02 16:07:48 +00:00
2014-04-05 08:17:48 +00:00
2016-04-18 09:56:41 +00:00
2015-09-20 20:24:28 +00:00
2014-12-13 21:13:28 +00:00
2013-06-13 00:19:30 +00:00
2015-09-14 18:44:13 +00:00
2013-06-13 00:19:30 +00:00
2016-04-18 21:05:15 +00:00
2015-02-25 07:49:15 +00:00
2016-05-29 11:54:09 +00:00
2015-05-05 10:44:17 +00:00
2015-05-01 18:32:16 +00:00
2013-06-13 00:19:30 +00:00
2014-04-13 19:48:28 +00:00
2014-06-23 08:25:03 +00:00
2016-04-30 01:24:24 +00:00
2013-06-13 00:19:30 +00:00
2013-06-13 00:19:30 +00:00
2013-06-13 00:19:30 +00:00
2013-06-13 00:19:30 +00:00
2013-06-13 00:19:30 +00:00
2013-08-18 10:33:46 +00:00
2014-08-13 03:44:30 +00:00
2013-06-13 00:19:30 +00:00
2013-06-13 00:19:30 +00:00
2013-06-13 00:19:30 +00:00
2013-06-13 00:19:30 +00:00
2013-06-13 00:19:30 +00:00
2013-06-13 00:19:30 +00:00
2015-05-01 18:32:16 +00:00
2015-07-25 00:21:29 +00:00
2015-08-29 14:25:01 +00:00
2016-01-14 07:27:42 +00:00
2015-09-20 20:24:28 +00:00
2015-12-22 18:12:11 +00:00
2015-12-22 18:12:11 +00:00
2015-12-22 18:12:11 +00:00
2014-07-15 03:28:37 +00:00