home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2292 / RANDOM < prev    next >
Encoding:
Text File  |  1990-12-28  |  557 b   |  18 lines

  1.  
  2. This is a very brief into to the random number routines. Version 0.3
  3. By Joshua Levy
  4.  
  5. Note that this is a "presentation layer" random number package.
  6. It relies on random(3) to generate random number, but presents
  7. them to the user in a more useful way, as well as providing
  8. logging facilities.
  9.  
  10. To make the *.o file: cc -c random.c
  11. To make a test executable: cc -DTEST -o rndtest random.c
  12.  
  13. Include the header file (random.h) in you programs.
  14.  
  15. To test the routines make rndtest and try these two UNIX commands:
  16.    rndtest <rndtnorm.ts
  17.    rndtest <rndtacid.ts
  18.