Re: [cc65] rand

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2000-12-31 08:23:34


On Sat, Dec 30, 2000 at 06:05:21PM -0500, troy silvey wrote:
> Can you give me the details on the random number
> functions in CC65?

The library contains the standard C functions rand() and srand(). srand()
initializes the random number generator, while rand() returns numbers between
zero and RAND_MAX. Sidney Cadot has contributed a new rand() function some
time ago, that is a huge improvement over the old one. You may lookup these
functions in any C book.		  

Regards


	Uz


--
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:37 CET