random number functions

Joseph E Poplawski jpoplaws at telesci.UUCP
Tue Nov 21 17:14:06 AEST 1989


Hello. I am wondering if anyone has any functions that they could share with
me for random numbers.  What I need is two functions.  One to generate a 
number between 0 and z, and another to generate a number between x and z.
I need it to generate good random numbers.  I have been trying to do such 
for two days now and I have yet to come up with anything successfully.

This is needed for an 80386 machine running ISC UNIX V.3...

Thanks in advance.

-Jo
--
Joseph E Poplawski   ...!princeton!pyrnj!telesci!fantasci!jep
		     ...!rutgers!rochester!moscom!telesci!fantasci!jep



More information about the Comp.lang.c mailing list