Changes between Initial Version and Version 1 of Ticket #7951
- Timestamp:
- Jan 30, 2013, 3:12:07 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7951 – Description
initial v1 1 1 After fixing a bug in VC11's <random> (see [1]), I compared VC's fixed output to Boost 1.52.0's output and I believe I found a bug in Boost. Here's a self-contained test case: 2 2 {{{ 3 3 C:\Temp>type meow.cpp 4 4 #include <ios> … … 86 86 run_10k( mt19937(0)): 1543171712 87 87 run_10k(ranlux24_base(0)): 14007167 88 }}} 88 89 89 90 Here's why I believe that ranlux24_base(0) should be equal to ranlux24_base(). ranlux24_base is a subtract_with_carry_engine. 26.5.3.3 [rand.eng.sub]/7 says: