Mail Archives: djgpp/1997/06/02/20:12:54

Message-Id: <>
Mime-Version: 1.0
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 <csrabak AT dce03 DOT ipt DOT br>
Subject: Re: Random numbers

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

- Raw text -

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