Title
Concern about short seed vectors
Status
cd1
Section
[rand.util.seedseq]
Submitter
Charles Karney

Created on 2006-10-26.00:00:00 last changed 171 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Adopt the proposed resolution in N2423.

Date: 2006-10-26.00:00:00

Short seed vectors of 32-bit quantities all result in different states. However this is not true of seed vectors of 16-bit (or smaller) quantities. For example these two seeds

unsigned short seed = {1, 2, 3};
unsigned short seed = {1, 2, 3, 0};

both pack to

unsigned seed = {0x20001, 0x3};

yielding the same state.

See N2391 and N2423 for some further discussion.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg3202
2006-10-26 00:00:00admincreate