[ quantlib-Bugs-538118 ] bug in Knuth uniform rnd gen
Posted by
SourceForge.net on
Apr 03, 2002; 11:08pm
URL: http://quantlib.414.s1.nabble.com/quantlib-Bugs-538118-bug-in-Knuth-uniform-rnd-gen-tp10035.html
Bugs item #538118, was opened at 2002-04-02 03:05
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=112740&aid=538118&group_id=12740Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: bug in Knuth uniform rnd gen
Initial Comment:
In function ranf_arr_cycle should be generated
1009 "random" numbers, but used only 100 of them.
Knuth puts -1 on 100th place in array to bound output.
----------------------------------------------------------------------
>Comment By: Luigi Ballabio (lballabio)
Date: 2002-04-03 12:00
Message:
Logged In: YES
user_id=75450
Maybe the extract 1009, use 100 thing was added by Knuth afterwards? He
speaks of it as a 2002 thing.
However, it is fixed in CVS now.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=112740&aid=538118&group_id=12740