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
2015-09-20 20:15:44 +00:00
2013-12-13 21:50:03 +00:00
2014-07-08 12:19:34 +00:00
2014-01-14 01:52:34 +00:00
2016-04-30 01:24:24 +00:00
2015-09-20 20:15:44 +00:00
2016-04-18 09:56:41 +00:00
2015-09-14 18:44:13 +00:00
2016-04-30 01:24:24 +00:00
2014-08-13 03:44:30 +00:00
2015-05-01 18:32:16 +00:00