zsh-workers
 help / color / mirror / code / Atom feed
From: Larry Bakst <pleb@iridescent.org>
To: zsh-workers@sunsite.dk
Subject: Re: RANDOMSMALL <range> [ <seed> ]
Date: Tue, 8 Jun 2004 14:55:42 -0700	[thread overview]
Message-ID: <p06100502bcebe585f648@iridescent.org> (raw)
In-Reply-To: <pdy988306110402bcebb015c2cb@[209.128.98.50]>

I would suggest Mersenne Twister for all random numbers which is located here:

http://www.math.sci.hiroshima-u.ac.jp/%7Em-mat/MT/emt.html

leb


>Zsh's RANDOM function is deficient.  I propose a new builtin a la the lesson learned in the Java world.
>
>http://java.sun.com/docs/books/effective/excursion-random.html
>
>Dave


-- 
Lawrence E. Bakst
pleb@iridescent.org


  parent reply	other threads:[~2004-06-08 21:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-01 18:01 zsh malloc bug Dave Yost
2004-06-02  9:32 ` Peter Stephenson
2004-06-02 18:21   ` Dave Yost
2004-06-08 13:20     ` Peter Stephenson
2004-06-08 18:09       ` RANDOMSMALL <range> [ <seed> ] Dave Yost
2004-06-08 21:20         ` Peter Stephenson
2004-06-08 21:51           ` PATCH: " Peter Stephenson
2004-06-08 21:55         ` Larry Bakst [this message]
2004-06-16 19:13       ` zsh malloc bug Dave Yost

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=p06100502bcebe585f648@iridescent.org \
    --to=pleb@iridescent.org \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).