DRI-C MC68881 Floating Point Library ------------------------------------ The MC68881 floating point coprocessor routines presented on this disc re- place many modules of the DRI-C IEEE floating point library LIBE.A that comes with CP/M-68K. Additional functions are provided to enhance the library. If you have a MC68020/MC68881 machine running CP/M-68K and wish to build a floating point library which takes advantage of your (your computer's that is) hardware, please proceed as detailed below. - pip LIBE.A to, say, LIB68881.E - replace (ar68 rv lib68881.e ... ) all modules marked with the letter 'r' (see table 1). - delete (ar68 dv lib68881.e ... ) all modules marked with the letter 'd' (see table 1). - insert (ar68 rav lib68881 ... ) those modules marked with the letter 'i' (see table 1). stands for the module in LIB68881.E after which the new modules are to be inserted. - print (ar68 tv lib68881.e >lst:) the new library's contents and compare the printout with table 2. - write a new submit file, similar to CE.SUB, but with LIB68881.E instead of LIBE.A in the LO68 command line. Please note that the new floating point functions have been coded for speed (why else use an MC68881?). It will be your responsibility to take care of in range function arguments (and other trivia which make a programmer's life worthwhile). Table 1 | Table 2 Comments xdoprtfp.o | rw-rw-rw- 0/0 532 xdoprtfp.o ftoa.o | rw-rw-rw- 0/0 1828 ftoa.o etoa.o | rw-rw-rw- 0/0 1800 etoa.o atof.o | rw-rw-rw- 0/0 2976 atof.o ieeetof.o | rw-rw-rw- 0/0 828 ieeetof.o r fpadd.o | rw-rw-rw- 0/0 108 fpadd.o r fpcmp.o | rw-rw-rw- 0/0 140 fpcmp.o r fpdiv.o | rw-rw-rw- 0/0 108 fpdiv.o ftol.o | rw-rw-rw- 0/0 648 ftol.o ltof.o | rw-rw-rw- 0/0 564 ltof.o r fabs.o | rw-rw-rw- 0/0 68 fabs.o r floor.o | rw-rw-rw- 0/0 92 floor.o r ceil.o | rw-rw-rw- 0/0 92 ceil.o r fmod.o | rw-rw-rw- 0/0 80 fmod.o x mod y r fpmul.o | rw-rw-rw- 0/0 136 fpmul.o r fpneg.o | rw-rw-rw- 0/0 76 fpneg.o r fpsub.o | rw-rw-rw- 0/0 108 fpsub.o i sin.o | rw-rw-rw- 0/0 68 sin.o i sinh.o | rw-rw-rw- 0/0 68 sinh.o i asin.o | rw-rw-rw- 0/0 68 asin.o i cos.o | rw-rw-rw- 0/0 68 cos.o i cosh.o | rw-rw-rw- 0/0 68 cosh.o i acos.o | rw-rw-rw- 0/0 68 acos.o i tan.o | rw-rw-rw- 0/0 68 tan.o i tanh.o | rw-rw-rw- 0/0 68 tanh.o i atan.o | rw-rw-rw- 0/0 68 atan.o i sqrt.o | rw-rw-rw- 0/0 68 sqrt.o i fsqr.o | rw-rw-rw- 0/0 76 fsqr.o x^2 i exp.o | rw-rw-rw- 0/0 68 exp.o e^x i log.o | rw-rw-rw- 0/0 68 log.o ln x i log10.o | rw-rw-rw- 0/0 68 log10.o lg x i pow.o | rw-rw-rw- 0/0 120 pow.o x^y d fpsin.o | rw-rw-rw- 0/0 180 ffpcpyrt.o d fpcos.o | rw-rw-rw- 0/0 500 atoi.o d fpsqrt.o d fpexp.o d fplog.o d fppwr.o d iefabs.o d iefadd.o d iefcmp.o d iefdiv.o d iefmul.o d iefsin.o d iefsqrt.o d iefpwr.o d iefexp.o d ieflog.o d ieffront.o d iefback.o d ffpieee.o d ffpexp.o d ffplog.o d ffppwr.o d ffpsin.o d ffpsqrt.o d ffpabs.o d ffpadd.o d ffpcmp.o d ffpdiv.o d ffpmul2.o d ffptheta.o d ffphthet.o d ffptnorm.o ffpcpyrt.o atoi.o