delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/04/04:00:20

Date: Thu, 4 Nov 1999 09:09:45 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: mdruiter AT cs DOT vu DOT nl
cc: djgpp AT delorie DOT com
Subject: Re: rand and random
In-Reply-To: <7vor7n$g65@cs.vu.nl>
Message-ID: <Pine.SUN.3.91.991104090916.9537M-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 3 Nov 1999 mdruiter AT cs DOT vu DOT nl wrote:

> Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
> > Most (if not all) 32-bit implementations provide a generator with
> > the full 32-bit range.
> 
> I think you mean 31-bit here, no?

No, I meant 32-bit.  The range from 0 to 2^31-1 spans 32 bits.  Am I
missing something?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019