# HG changeset patch # User Steve Losh <steve@stevelosh.com> # Date 1490277769 0 # Node ID ce8a7b89014e2c43e8ac6ec7a553f1b660cca92d # Parent fdfd0925e959ec5c04570bb0af184b55f2eb6dbb cl-pcg: Update site. diff -r fdfd0925e959 -r ce8a7b89014e cl-pcg/index.html --- a/cl-pcg/index.html Thu Mar 23 13:56:10 2017 +0000 +++ b/cl-pcg/index.html Thu Mar 23 14:02:49 2017 +0000 @@ -14,6 +14,7 @@ <div class="markdown"> <p><code>cl-pcg</code> is a <a href="http://www.pcg-random.org/">permuted congruential generator</a> implementation in pure Common Lisp.</p> +<p>PCGs are <strong>not</strong> cryptographically secure. If you need that, look elsewhere.</p> <ul> <li><strong>License:</strong> MIT</li> <li><strong>Documentation:</strong> <a href="https://sjl.bitbucket.io/cl-pcg/">https://sjl.bitbucket.io/cl-pcg/</a></li> diff -r fdfd0925e959 -r ce8a7b89014e cl-pcg/usage/index.html --- a/cl-pcg/usage/index.html Thu Mar 23 13:56:10 2017 +0000 +++ b/cl-pcg/usage/index.html Thu Mar 23 14:02:49 2017 +0000 @@ -14,6 +14,7 @@ <div class="markdown"> <h1 id="usage"><a href="">Usage</a></h1><p><code>cl-pcg</code> is a <a href="http://www.pcg-random.org/">permuted congruential generator</a> implementation in pure Common Lisp. It provides a high-level API and a low-level API.</p> +<p>PCGs are <strong>not</strong> cryptographically secure. If you need that, look elsewhere.</p> <div class="toc"> <ul> <li><a href="#the-high-level-api">The High-Level API</a><ul> @@ -72,6 +73,8 @@ </pre></div> +<p><code>inclusive?</code> is treated as a generalized boolean, so you can write <code>(pcg-random +gen -10 10 :inclusive)</code> if you feel it reads better.</p> <p><code>pcg-random</code> can also generate <code>single-float</code>s if <code>bound</code> and/or <code>max</code> are given as <code>single-float</code>s:</p> <div class="codehilite"><pre><span/><span class="p">(</span><span class="nb">defparameter</span> <span class="vg">*gen*</span> <span class="p">(</span><span class="nv">make-pcg</span><span class="p">))</span>