Debian Codegraph @

texmf-dist/doc/generic/minifp/README

raw
1 The MiniFP package
2
3 Purpose:
4
5 minifp.sty defines macros for calculating with decimal real numbers.
6 It provides 8 decimal digits before and after the decimal point.
7 Minifp also provides a stack-based "assembly" language for writing
8 "programs".
9
10 In its basic form, minifp makes only simple operations available. To
11 get additional operations (sine, cosine, angle, square root, log and
12 exp), the file mfpextra.tex is provided.
13
14 Minifp should work in both LaTeX and plainTeX.
15
16 This is version 0.96. It should work reasonably well, barring any
17 bugs, but I expect to spend some time fine-tuning it before calling it
18 version 1.0.
19
20 License:
21
22 All files of the minifp distribution (listed below) may be distributed
23 and/or modified under the conditions of the LaTeX Project Public
24 License, either version 1.3c of this license or (at your option) any
25 later version. The latest version of this license is in
26 http://www.latex-project.org/lppl.txt
27 and version 1.3c or later is part of all distributions of LaTeX
28 version 2008/12/01 or later.
29
30 While every effort has been made to make minifp useful, it comes with
31 no warranty, expressed or implied.
32
33 Usage:
34
35 You can use minifp as a LaTeX package with
36 \usepackage{minifp}
37 or use it in plain TeX with
38 \input minifp.sty
39
40 You can access the extra commands from mfpextra.tex by issuing the
41 command
42 \MFPloadextra
43 after minifp.sty has been loaded.
44
45 Installation:
46
47 To install minifp, obtain minifp.tds.zip from CTAN and unzip it in any
48 TDS-compliant texmf tree.
49
50 Or, in the presence of minifp.dtx, run tex or latex on minifp.ins to
51 unpack the files minifp.sty and mfpextra.tex. Copy those files to some
52 place where both tex and latex can find them. For example, in a TDS
53 compliant system, the directory /tex/generic/minifp/ under one of your
54 TEXMF root directories.
55
56 The documentation is provided in minifp.pdf. Put minifp.pdf (and this
57 README and the files test*.tex, if you wish) wherever documentation of
58 packages is kept. For example, in the directory /doc/generic/minifp/
59 under one of your TEXMF root directories.
60
61 If you wish to regenerate the documentation, run latex (or pdflatex)
62 on minifp.dtx three times and then
63 makeindex -s gind.ist -o minifp.ind minifp.idx
64 and then (pdf)latex again on minifp.dtx.
65
66 Manifest:
67
68 These, together with the files minifp.sty and mfpextra.tex (generated
69 by tex-ing minifp.ins), constitute the minifp distribution to which the
70 license applies:
71
72 minifp.dtx Contains minifp.sty and mfpextra.tex
73 minifp.ins The unpacking script: run tex or latex on it.
74 It reads in minifp.dtx and produces the files
75 minifp.sty and mfpextra.tex
76 minifp.pdf Documentation
77 test1.tex A suite of tests, including error messages (plain TeX)
78 test2.tex More tests, including long tests of speed (plain TeX)
79 README This file.
80
81 This distribution, the latest updates, and possibly some past
82 versions, should also be available at my web site:
83 <http://comp.uark.edu/~luecking/tex/tex.html>.
84
85 History:
86 Version 0.96: Added random number generator, based on random.tex
87 Version 0.95: More testing. Changed square root of negative from an
88 error to a warning. Documentation updated. Now mfpextra
89 checks for minifp.sty and inputs it if needed.
90 Version 0.94: Improved accuracy of log, sin and sqrt.
91 Version 0.93: Corrected mistyped data for logarithm.
92 Fixed bugs in degree/radian conversions.
93 Version 0.92: Corrected sign of floor and ceiling. Corrected
94 occasional minus sign in front of 0.0 for sin or cos.
95 Version 0.9 : angle: near maximum accuracy, at some cost to speed.
96 Version 0.8 : exp: now more accurate for many cases.
97 Version 0.7 : sqrt: now exact when possible and much more accurate.
98 Version 0.6 : Added angle to mfpextra. Changed package name to minifp.
99 Version 0.5 : Added sqrt, deg, rad to mfpextra.
100 Version 0.4 : Added log, exp, pow to mfpextra.
101 Version 0.3 : Added mfpextra.tex, defines sin and cos.
102 Version 0.2 : Added macros for printing, formatting the results.
103 Version 0.1 : First working set of macros. Package named mfp.sty.
104
105 --
106 Dan Luecking <luecking (at) uark (dot) edu>
107 Department of Mathematical Sciences
108 1 University of Arkansas
109 Fayetteville, Arkansas 72701-1201
110 U.S.A.