home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_100 / 135_01 / read.me < prev    next >
Text File  |  1985-03-10  |  4KB  |  105 lines

  1. ===============================================================================
  2.  
  3.                Very Large Integer Package for BDSc
  4.  
  5.                                by
  6.  
  7.                           Hugh S. Myers
  8.  
  9.                              4/9/84
  10.  
  11. ===============================================================================
  12.  
  13.  
  14. files:        size:    contents:
  15.  
  16. math.csm    22k    Very high precision math subroutine package
  17.             as adapted and corrected from the March 1977
  18.             Dr. Dobb's Journal article by M.G. Dinneley
  19.             by way of an M80 version by Thomas Hill (see
  20.             the June and July 1983 issues of Lifelines).
  21.             this version corrects errors common to both of
  22.             its predicessors as well as making the transition
  23.             to BDSc's csm format.  
  24. math.crl    8k    crl version of math.csm
  25.  
  26. vli.csm        14k    a 'front end' for math.crl.  This contains all
  27.             of the named subroutine calls for BDSc as well
  28.             as all of the housekeeping necessary to use math.crl.
  29.             At last count there were some 37 functions available
  30.             to BDSc with 5 more for odds and ends.  While I
  31.             would not recommend any of my csm files as highly
  32.             optimized, this one is at least easy to extend with
  33.             new functions as needed.
  34. vli.crl        4k    crl version of vli.csm
  35.  
  36. qpm.csm        4k    An example of extensions to vli.csm.  This contains
  37.             two functions that test either a string or an integer
  38.             for primality.  If the number is 1>n>65536, these
  39.             functions will return TRUE or FALSE as the result of
  40.             a seive test for "is n prime?"  Otherwise TRUE, FALSE
  41.             or MAYBE is returned.  For an example of usage, see
  42.             the program prime.c.   
  43. qpm.crl        2k    crl version of qpm.crl (what else??!!?)
  44.  
  45. calc.c        12k    A reverse polish programmable calculator based somewhat
  46.             on the HP11c.
  47.  
  48. e.c        2k    Program that does nothing but compute 'e' to some
  49.             desired number of digits beyond the decimal...(is
  50.             that like beyond the pale?)
  51.  
  52. m.c        2k    An implementation of Fermat's little theorem
  53.             as a practical test of primality for microcomputers.
  54.             (I'm not all that sure of just how practical!)
  55.  
  56. ratc.c        4k    A set of rational number functions (add, subtract,
  57.             multiply and divide) as an extension to the system.
  58.  
  59. prime.c        2k    Need large prime numbers?  This is a program that
  60.             will generate them, up to 99 digits as is, more with
  61.             modification to the source.  For instance did you
  62.             know that 78232933534123632256464644356789655637924
  63.             573111259 is prime?  This program is a great eater
  64.             of time so use it accordingly.  Note also its use of
  65.             a function from qpm.crl; qprime(s).
  66.  
  67. sqr1.c        2k    A demonstration of how an s100 computer and BDSc
  68.             can compute 1.0000001^134217728 with 50 digits of
  69.             accuracy.  See the April l984 issue of Scientific
  70.             American's Computer Recreations column.
  71.  
  72. v.c        6k    In source a series of examples on vli function calls,
  73.             as compiled, a demonstration of how they work.
  74.  
  75. p.c        2k    Algorithm P...a probabilistic primality test.  From
  76.             "Seminumerical Algorithms: The Art of Computer 
  77.             Programming", Vol. 2, by D. E. Knuth.
  78.  
  79. read.me        nk    this, and you are.
  80.  
  81. ===============================================================================
  82.  
  83.  
  84. notes and misc.
  85.  
  86. BotΦ vli.csφ anΣ math.csφ neeΣ t∩ bσ madσ bette≥ hencσ thσ ì
  87. contributioε t∩ thσ usergroup«  Therσ arσ ß lo⌠ oµ thing≤ tha⌠ ╔ ì
  88. don'⌠ understanΣ abou⌠ writinτ tigh⌠ efficien⌠ csφ files¼ s∩ ì
  89. feedbacδ woulΣ bσ useful«  ╔ aφ concerneΣ fo≥ instancσ iε tha⌠ ì
  90. thσ tes⌠ version≤ oµ matΦ anΣ vlΘ don'⌠ havσ bette≥ overflo≈ anΣ ì
  91. underflo≈ returε methods«  Als∩ loca∞ storagσ size≤ arσ to∩ ì
  92. small¼ bu⌠ i⌠ seem≤ unwieldl∙ t∩ changσ theφ al∞ t∩ 60░ bytes«  ┴ ì
  93. littlσ stud∙ herσ shoulΣ indicatσ thσ correc⌠ sizσ fo≥ each«  ì
  94. Als∩ iµ ß forφ oµ globa∞ storagσ werσ possiblσ froφ csφ ß grea⌠ ì
  95. dea∞ oµ storagσ overheaΣ anΣ somσ subroutinσ overheaΣ a≤ wel∞ ì
  96. coulΣ bσ deal⌠ with.
  97.  
  98.  
  99. Hugh S. Myers
  100. 208-342-4936
  101. 922 Pierce Court
  102. Boise, Idaho
  103. 83712
  104.  
  105.