Date: Fri, 30 Jul 1999 09:11:43 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Adam Schrotenboer cc: djgpp AT delorie DOT com Subject: Re: how about "more" random ? In-Reply-To: <37A0BAD7.3DB143DB@lycosmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 29 Jul 1999, Adam Schrotenboer wrote: > > x = ((double) rand ()) * 100 / RAND_MAX; > > Not exactly the correct method (IIRC), but close: > > x = ((double) rand ()/RAND_MAX) * 100; Care to explain what is the difference?