home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / assemblr / tcrnd.arc / RND.DOC < prev    next >
Encoding:
Text File  |  1988-05-27  |  1.2 KB  |  32 lines

  1.  
  2. TCRND by Mark Adler  Pasadena, CA  1987.
  3.  
  4. RND.ASM is a set of Turbo C subroutines written in assembler to generate
  5. random numbers of high quality at high speed for scientific use.  The
  6. comments at the beginning of RND.ASM describe the intended usage of the
  7. routines.  Include RND.H in any C program that will use the routines.
  8.  
  9. .OBJ files are provided for all the memory models in the form RND_x.OBJ,
  10. where x is S, C, M, L, or H for small (or tiny), compact, medium, large,
  11. and huge.
  12.  
  13. Also a batch file, RND.BAT, is provided to assemble RND.ASM (which
  14. requires MASM 5.0) for each model and appends it to the appropriate
  15. Turbo C library.  This eliminates the need for project or make files for
  16. small programs that use the routines.
  17.  
  18. Note that the routine drnd() assumes that an 80X87 is present without
  19. checking for it.
  20.  
  21. A set of macros necessary for assembling RND.ASM is also provided.  They
  22. allow model independent assembler code to be written and then assembled
  23. for particular models.  Look at RND.ASM for examples on how to use it.
  24. All the macro names start with an "@".
  25.  
  26. Feel free to send any problems with or comments on TCRND to:
  27.  
  28.         Mark Adler
  29.         P.O. Box 60998
  30.         Pasadena, CA  91106
  31.  
  32.