Category : C Source Code
Archive   : CEPHES22.ZIP
Filename : READ.ME

 
Output of file : READ.ME contained in archive : CEPHES22.ZIP
This archive contains extended precision floating point
arithmetic routines, a calculator program, and a few additional
functions.

Several definitions must be configured in the source code, as follows:
Define type of computer in mconf.h.
Set precision NQ to 12 words (144 bit precision)
or 24 words (336 bit precision) in qhead.h.
Set precision and iteration count in qhead.asm.
Set size of address LARGEMEM in qcalc.h.

For a version with strictly correct rounding rules:
define STICKY to be 1 in qflt.c
use qflta.c
use qsqrta.c
This gets a rating of "excellent!" from the PARANOIA test program.

For a faster version, all in C language, non strict rounding:
define STICKY to be 0 in qflt.c
use qfltb.c
use qsqrt.c

Fastest IBM PC version, assembly language inner loops, non strict rounding:
define STICKY to be 0 in qflt.c
use subm.asm, divn.asm, mulr.asm
use qsqrt.c
The .asm files work as written only with small memory model.

Fastest version, 68000 processor:
define STICKY to be 0 in qflt.c
use qf68k.a
use qsqrt.c

Fastest version, 68020 processor:
define STICKY to be 0 in qflt.c
use qfltd.asm
use qsqrt.c

There are many dialects of 68000 assembly language. Versions
for System V Unix and Definicon DASM exist but are not included
here.

This software is copyright (C) 1984 - 1988 by Stephen L. Moshier.
All rights are reserved. A library of over 100 transcendental
functions that use this arithmetic can be purchased from Oasys
Systems, Waltham, Massachusetts.


  3 Responses to “Category : C Source Code
Archive   : CEPHES22.ZIP
Filename : READ.ME

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/