Title
ranlux48_base returns wrong value
Status
nad
Section
[rand.predef]
Submitter
P.J. Plauger

Created on 2008-02-09.00:00:00 last changed 172 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Change [rand.predef]/p5:

typedef subtract_with_carry_engine<uint_fast64_t, 48, 5, 12> 
        ranlux48_base; 

Required behavior: The 10000th consecutive invocation of a default-constructed object of type ranlux48_base shall produce the value 61839128582725 192113843633948.

Date: 2010-10-21.18:28:33

[ Bellevue: ]

Submitter withdraws defect.

Date: 2008-02-09.00:00:00

The 10,000th value returned by ranlux48_base is supposed to be 61839128582725. We get 192113843633948. (Note that the underlying generator was changed in Kona.)

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg3805
2010-10-21 18:28:33adminsetmessages: + msg3804
2008-02-09 00:00:00admincreate