home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / c / cephes22 / qfloat / read.me < prev    next >
Text File  |  1992-11-17  |  1KB  |  47 lines

  1. This archive contains extended precision floating point
  2. arithmetic routines, a calculator program, and a few additional
  3. functions.
  4.  
  5. Several definitions must be configured in the source code, as follows:
  6. Define type of computer in mconf.h.
  7. Set precision NQ to 12 words (144 bit precision)
  8.     or 24 words (336 bit precision) in qhead.h.
  9. Set precision and iteration count in qhead.asm.
  10. Set size of address LARGEMEM in qcalc.h.
  11.  
  12. For a version with strictly correct rounding rules:
  13.     define STICKY to be 1 in qflt.c
  14.     use qflta.c
  15.     use qsqrta.c
  16. This gets a rating of "excellent!" from the PARANOIA test program.
  17.  
  18. For a faster version, all in C language, non strict rounding:
  19.     define STICKY to be 0 in qflt.c
  20.     use qfltb.c
  21.     use qsqrt.c
  22.  
  23. Fastest IBM PC version, assembly language inner loops, non strict rounding:
  24.     define STICKY to be 0 in qflt.c
  25.     use subm.asm, divn.asm, mulr.asm
  26.     use qsqrt.c
  27. The .asm files work as written only with small memory model.
  28.  
  29. Fastest version, 68000 processor:
  30.     define STICKY to be 0 in qflt.c
  31.     use qf68k.a
  32.     use qsqrt.c
  33.  
  34. Fastest version, 68020 processor:
  35.     define STICKY to be 0 in qflt.c
  36.     use qfltd.asm
  37.     use qsqrt.c
  38.  
  39. There are many dialects of 68000 assembly language.  Versions
  40. for System V Unix and Definicon DASM exist but are not included
  41. here.
  42.  
  43. This software is copyright (C) 1984 - 1988 by Stephen L. Moshier.
  44. All rights are reserved.  A library of over 100 transcendental
  45. functions that use this arithmetic can be purchased from Oasys
  46. Systems, Waltham, Massachusetts.
  47.