Message-Id: <1.5.4.32.19970603001153.006bc018@dce03.ipt.br> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 02 Jun 1997 21:11:53 -0300 To: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot), djgpp AT delorie DOT com From: Cesar Scarpini Rabak Subject: Re: Random numbers Precedence: bulk At 11:34 30/05/97 GMT, George Foot wrote: >This is just plain wrong, random takes no parameters and returns a number >from 0 to MAXINT (over two thousand million). For the sake of correctness from 0 to RAND_MAX... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cesar Scarpini Rabak E-mail: csrabak AT ipt DOT br DME/ASC Phone: 55-11-268-3522 Ext.350 IPT - Instituto de Pesquisas Tecnologicas Fax: 55-11-268-5996 Av. Prof. Almeida Prado, 532. Sao Paulo - SP 05508-901 BRAZIL ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~