<div dir="ltr">On 12 March 2013 19:21, Hal Finkel <span dir="ltr"><<a href="mailto:hfinkel@anl.gov" target="_blank">hfinkel@anl.gov</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><span style="color:rgb(34,34,34)">+1</span><br></div>
<br>
There are a couple of example implementations here which are only a few lines long:<br>
<a href="http://wiki.osdev.org/Random_Number_Generator" target="_blank">http://wiki.osdev.org/Random_Number_Generator</a></blockquote><div><br></div><div style>I was going to rant about the quality of simple LCGs but it seems that *all* standard implementations rely on that, so the argument of using a standard library against a one-liner is void. ;)</div>
<div style><br></div><div style>Now, on to the practical issues: is there a place where this can be added once and used everywhere in the LNT, or should we just add that function to all tests that use it?</div><div style>
<br></div><div style>cheers,</div><div style>--renato</div></div></div></div>