Dec 092017
This C library is a collection of more than 400 high quality mathematical routines for scientific and engineering applications. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
CEPHES.DOC | 28739 | 7062 | deflated |
CMATH | 0 | 0 | stored |
ACOSH.C | 2917 | 1390 | deflated |
ASIN.C | 4312 | 1776 | deflated |
ASINH.C | 2706 | 1294 | deflated |
ATAN.C | 4933 | 1885 | deflated |
ATANH.C | 2800 | 1350 | deflated |
CBRT.C | 2592 | 1173 | deflated |
CHBEVL.C | 1595 | 818 | deflated |
CHEBY.C | 2704 | 1176 | deflated |
CONST.C | 6435 | 1999 | deflated |
COSH.C | 1074 | 585 | deflated |
DRAND.C | 3063 | 1391 | deflated |
EXP.C | 4052 | 1784 | deflated |
EXP10.C | 4463 | 1773 | deflated |
FABS.C | 265 | 167 | deflated |
FLOOR.C | 5083 | 1833 | deflated |
FTILIB.MAK | 5029 | 1182 | deflated |
INDEX | 1668 | 292 | deflated |
LOG.C | 6320 | 2712 | deflated |
LOG10.C | 4654 | 2158 | deflated |
MCONF.H | 2960 | 1394 | deflated |
MOD2PI.C | 2585 | 1216 | deflated |
MTHERR.C | 2352 | 1052 | deflated |
MTHUTL.C | 14523 | 4731 | deflated |
MTST.C | 8860 | 3080 | deflated |
POLEVL.ASM | 1582 | 527 | deflated |
POLEVL.C | 1605 | 730 | deflated |
POW.C | 11133 | 4449 | deflated |
POWI.C | 2615 | 1263 | deflated |
ROUND.C | 996 | 554 | deflated |
SIN.C | 7571 | 2720 | deflated |
SINCOS.C | 8849 | 3551 | deflated |
SINH.C | 2420 | 1207 | deflated |
SQRT.C | 2834 | 1206 | deflated |
TAN.C | 5271 | 1999 | deflated |
TANH.C | 2306 | 1140 | deflated |
CPROB | 0 | 0 | stored |
BDTR.C | 3529 | 1029 | deflated |
BTDTR.C | 958 | 462 | deflated |
CHDTR.C | 3395 | 968 | deflated |
DRAND.C | 3017 | 1366 | deflated |
FDTR.C | 3513 | 1173 | deflated |
GAMMA.C | 12671 | 4669 | deflated |
GDTR.C | 1890 | 622 | deflated |
IGAM.C | 3730 | 1240 | deflated |
IGAMI.C | 1811 | 916 | deflated |
INCBET.C | 5283 | 1787 | deflated |
INCBI.C | 2887 | 1289 | deflated |
INDEX | 1248 | 192 | deflated |
MCONF.H | 2960 | 1394 | deflated |
MTHERR.C | 2352 | 1052 | deflated |
NBDTR.C | 2108 | 735 | deflated |
NDTR.C | 9661 | 3456 | deflated |
NDTRI.C | 9778 | 3903 | deflated |
PDTR.C | 2501 | 838 | deflated |
STDTR.C | 2935 | 1261 | deflated |
EIGEN | 0 | 0 | stored |
BLAS.C | 2509 | 959 | deflated |
EIGASM.BAT | 192 | 126 | deflated |
EIGENS.C | 3230 | 1539 | deflated |
EIGTST.C | 1770 | 704 | deflated |
INDEX | 717 | 138 | deflated |
LMDIF.C | 41421 | 10385 | deflated |
ELLF | 0 | 0 | stored |
ELLF.ANS | 14508 | 3548 | deflated |
ELLF.C | 14984 | 5135 | deflated |
ELLF.DOC | 3693 | 1731 | deflated |
ELLF.MAK | 322 | 137 | deflated |
ELLF.QUE | 431 | 246 | deflated |
ELLIE.C | 1905 | 856 | deflated |
ELLIK.C | 1852 | 838 | deflated |
ELLPE.C | 4224 | 1856 | deflated |
ELLPJ.C | 3082 | 1436 | deflated |
ELLPK.C | 4821 | 2053 | deflated |
INDEX | 619 | 126 | deflated |
MCONF.H | 2960 | 1394 | deflated |
MTHERR.C | 2352 | 1052 | deflated |
IEEE | 0 | 0 | stored |
ECONST.C | 1545 | 550 | deflated |
EEXP.C | 1219 | 577 | deflated |
EHEAD.H | 1108 | 515 | deflated |
ELOG.C | 1316 | 619 | deflated |
EPOW.C | 2106 | 839 | deflated |
ESQRT.C | 1737 | 886 | deflated |
ETANH.C | 902 | 494 | deflated |
ETODEC.C | 2903 | 1129 | deflated |
IEEE.C | 44847 | 12556 | deflated |
INDEX | 2356 | 298 | deflated |
INDEX | 22672 | 2727 | deflated |
LDOUBLE | 0 | 0 | stored |
ACOSHL.C | 2791 | 1325 | deflated |
ASINHL.C | 2525 | 1253 | deflated |
ASINL.C | 4231 | 1748 | deflated |
ATANHL.C | 2686 | 1319 | deflated |
ATANL.C | 4777 | 1891 | deflated |
CBRTL.C | 2329 | 1121 | deflated |
COSHL.C | 1068 | 586 | deflated |
EXP10L.C | 4031 | 1726 | deflated |
EXP2L.C | 2740 | 1363 | deflated |
EXPL.C | 3815 | 1743 | deflated |
FLOORL.C | 4679 | 1719 | deflated |
INDEX | 1298 | 218 | deflated |
LOG10L.C | 6693 | 2786 | deflated |
LOG2L.C | 5961 | 2626 | deflated |
LOGL.C | 6016 | 2594 | deflated |
LONGLIB.MAK | 1597 | 396 | deflated |
LONGLIB.RSP | 162 | 99 | deflated |
MCONF.H | 3202 | 1495 | deflated |
MTHERR.C | 2266 | 1017 | deflated |
POLEVLL.C | 3719 | 1454 | deflated |
POWIL.C | 2601 | 1243 | deflated |
POWL.C | 13331 | 5230 | deflated |
SINHL.C | 2419 | 1186 | deflated |
SINL.C | 6387 | 2270 | deflated |
SQRTL.C | 2921 | 1320 | deflated |
TANHL.C | 2275 | 1139 | deflated |
TANL.C | 4731 | 1807 | deflated |
ODE | 0 | 0 | stored |
ADAMS3.C | 7772 | 2930 | deflated |
INDEX | 423 | 111 | deflated |
INT.H | 115 | 94 | deflated |
NOTE.DOC | 188 | 149 | deflated |
RUNGEK.C | 7294 | 2499 | deflated |
SSYSTEM.C | 14846 | 5823 | deflated |
SSYSTEM.MAK | 337 | 172 | deflated |
POLYN | 0 | 0 | stored |
EUCLID.C | 3876 | 1272 | deflated |
INDEX | 1129 | 162 | deflated |
POLMISC.C | 3919 | 1516 | deflated |
POLRT.C | 3452 | 1425 | deflated |
POLYN.C | 7539 | 2709 | deflated |
POLYR.C | 8469 | 2917 | deflated |
REVERS.C | 2300 | 1029 | deflated |
QFLOAT | 0 | 0 | stored |
CALC100.DOC | 4374 | 1923 | deflated |
DIVN.ASM | 5229 | 1859 | deflated |
INDEX | 3048 | 372 | deflated |
MCONF.H | 503 | 259 | deflated |
MTHERR.C | 2266 | 1017 | deflated |
MULR.ASM | 2035 | 820 | deflated |
QCALC.C | 25847 | 8285 | deflated |
QCALC.H | 1127 | 507 | deflated |
QCALC.MAK | 1734 | 422 | deflated |
QCONST.C | 4528 | 1258 | deflated |
QEXP.C | 1063 | 511 | deflated |
QFLOOR.C | 1265 | 619 | deflated |
QFLT.C | 30338 | 8909 | deflated |
QFLTA.C | 5344 | 1636 | deflated |
QFLTB.C | 8014 | 2208 | deflated |
QFLTD.ASM | 13835 | 3430 | deflated |
QHEAD.ASM | 776 | 397 | deflated |
QHEAD.H | 349 | 199 | deflated |
QLOG.C | 1136 | 571 | deflated |
QPOW.C | 1630 | 692 | deflated |
QSQRT.C | 1172 | 584 | deflated |
QSQRTA.C | 1831 | 907 | deflated |
QTANH.C | 1014 | 562 | deflated |
READ.ME | 1491 | 713 | deflated |
SUBM.ASM | 3115 | 860 | deflated |
README | 1205 | 647 | deflated |
REMES | 0 | 0 | stored |
INDEX | 552 | 116 | deflated |
NOTE.DOC | 247 | 182 | deflated |
REMES.C | 2481 | 1140 | deflated |
REMES.H | 1539 | 624 | deflated |
REMES.MAK | 689 | 202 | deflated |
REMESA.C | 3489 | 1440 | deflated |
REMESE.C | 2170 | 957 | deflated |
REMESF.C | 6023 | 2161 | deflated |
REMESG.C | 1707 | 581 | deflated |
REMESP.C | 1443 | 603 | deflated |
REMESS.C | 2805 | 1113 | deflated |
REMESW.C | 1517 | 585 | deflated |
SIMQ.C | 2919 | 1289 | deflated |
Download File CEPHES22.ZIP Here
Contents of the READ.ME file
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.
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.
Contents of the README file
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.
Some software in this archive may be from the book _Methods and
Programs for Mathematical Functions_ (Prentice-Hall, 1989) or
from the Cephes Mathematical Library, a commercial product. In
either event, it is copyrighted by the author. What you see here
may be used freely but it comes with no support or guarantee.
The two known misprints in the book are repaired here in the
source listings for the gamma function and the incomplete beta
integral.
Stephen L. Moshier
[email protected]
--------------------------------------------------
19 November 1992
ZIP archive constructed and index compiled.
To reconstruct the original directory structure, use the -d switch:
C:\CEPHES>pkunzip -d cephes
This archive includes all the programs in the /netlib/cephes directory
on research.att.com as of 17 Nov 92. The file "index" will tell you in
what directory and file each function can be found. If there is
something else mentioned in cephes.doc that you need, you can check
research.att.com to see whether it has been added. Failing that, you
can contact Stephen Moshier.
Jim Van Zandt
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.
Some software in this archive may be from the book _Methods and
Programs for Mathematical Functions_ (Prentice-Hall, 1989) or
from the Cephes Mathematical Library, a commercial product. In
either event, it is copyrighted by the author. What you see here
may be used freely but it comes with no support or guarantee.
The two known misprints in the book are repaired here in the
source listings for the gamma function and the incomplete beta
integral.
Stephen L. Moshier
[email protected]
--------------------------------------------------
19 November 1992
ZIP archive constructed and index compiled.
To reconstruct the original directory structure, use the -d switch:
C:\CEPHES>pkunzip -d cephes
This archive includes all the programs in the /netlib/cephes directory
on research.att.com as of 17 Nov 92. The file "index" will tell you in
what directory and file each function can be found. If there is
something else mentioned in cephes.doc that you need, you can check
research.att.com to see whether it has been added. Failing that, you
can contact Stephen Moshier.
Jim Van Zandt
December 9, 2017
Add comments