ce8a7b89014e
cl-pcg: Update site.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Thu, 23 Mar 2017 14:02:49 +0000 |
parents | fdfd0925e959 |
children | 99e172c5fdbf |
branches/tags | (none) |
files | cl-pcg/index.html cl-pcg/usage/index.html |
Changes
--- 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>
--- 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>