Pseudo-random numbers/Middle-square method: Difference between revisions

Content added Content deleted
(Added Quackery.)
m (→‎{{header|Quackery}}: extra commentary)
Line 721: Line 721:


As specified in task pseudo-code.
As specified in task pseudo-code.

(Adding one zero at a time irks me. If I wasn't sticking strictly to the pseudo-code I'd have written <code>12 over size - char 0 swap of join</code> instead of the <code>while</code> loop.)


<syntaxhighlight lang="Quackery"> [ dip [ split nip ]
<syntaxhighlight lang="Quackery"> [ dip [ split nip ]