[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $RANDOM is never equal to the next $RANDOM
From: |
zavandi |
Subject: |
Re: $RANDOM is never equal to the next $RANDOM |
Date: |
Mon, 7 Mar 2005 15:53:59 +0200 |
Chet Ramey <chet@caleb.ins.cwru.edu> wrote:
> Why would you expect $RANDOM to return the same value twice in succession?
I don't expect it to always return the same value twice in succession,
but if the values are independent of one another, there is a 1/32768
probability the second value will be equal to the first (or I'm
missing something?).