www.delorie.com/archives/browse.cgi | search |
From: | cpw10 AT columbia DOT edu (Chester Wong) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: random numbers error in DJGPP |
Date: | Sun, 02 Feb 1997 19:43:40 GMT |
Organization: | Columbia University |
Lines: | 10 |
Message-ID: | <32f4edb6.6181778@news.cc.columbia.edu> |
References: | <32F44A89 DOT 3142 AT ix DOT netcom DOT com> <01bc0d3a$8782ece0$5e0520ce AT d-moran> <32f4dc71 DOT 16473293 AT ursa DOT smsu DOT edu> |
NNTP-Posting-Host: | dialup-8-7.cc.columbia.edu |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
On Sun, 02 Feb 1997 18:29:52 GMT, aho450s AT nic DOT smsu DOT edu (Tony O'Bryan) wrote: >rand() and RND do not work the same way. rand() returns a number from 0 to >RAND_MAX according to the info file. For some reason, I was never able to find RAND_MAX documented anywhere. Is RAND_MAX the same as INT_MAX, or should I not make this assumption? Chester Wong
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |