Add 2007 to copyright.
[bpt/emacs.git] / lisp / calc / README
1
2 This directory contains Calc, an advanced desk calculator for GNU
3 Emacs.
4
5 "Calc" Copyright (C) 1990, 1991, 1992, 1993, 2001, 2002, 2003, 2004,
6 2005, 2006, 2007 Free Software Foundation, Inc.
7
8 Written by:
9 Dave Gillespie
10 c/o Synaptics, Inc.
11 2698 Orchard Parkway
12 San Jose CA 95134
13 daveg@synaptics.com, uunet!synaptx!daveg
14
15 Currently maintained by:
16 Jay Belanger <belanger@truman.edu>
17
18 From the introduction to the manual:
19
20 "Calc" is an advanced calculator and mathematical tool that runs as
21 part of the GNU Emacs environment. Very roughly based on the HP-28/48
22 series of calculators, its many features include:
23
24 * Choice of algebraic or RPN (stack-based) entry of calculations.
25
26 * Arbitrary precision integers and floating-point numbers.
27
28 * Arithmetic on rational numbers, complex numbers (rectangular and
29 polar), error forms with standard deviations, open and closed
30 intervals, vectors and matrices, dates and times, infinities,
31 sets, quantities with units, and algebraic formulas.
32
33 * Mathematical operations such as logarithms and trigonometric functions.
34
35 * Programmer's features (bitwise operations, non-decimal numbers).
36
37 * Financial functions such as future value and internal rate of return.
38
39 * Number theoretical features such as prime factorization and
40 arithmetic modulo M for any M.
41
42 * Algebraic manipulation features, including symbolic calculus.
43
44 * Moving data to and from regular editing buffers.
45
46 * "Embedded mode" for manipulating Calc formulas and data directly
47 inside any editing buffer.
48
49 * Graphics using GNUPLOT, a versatile (and free) plotting program.
50
51 * Easy programming using keyboard macros, algebraic formulas,
52 algebraic rewrite rules, or extended Emacs Lisp.
53
54
55 Calc is written entirely in Emacs Lisp, for maximum portability.
56
57 I am anxious to hear about your experiences using Calc. Send mail to
58 "belanger@truman.edu". A bug report is most useful if you include the
59 exact input and output that occurred, any modes in effect (such as the
60 current precision), and so on. If you find Calc is difficult to operate
61 in any way, or if you have other suggestions, don't hesitate to let me
62 know. If you find errors (including simple typos) in the manual, let
63 me know. Even if you find no bugs at all I would love to hear your
64 opinions.
65
66
67
68 Summary of changes to "Calc"
69 ------- -- ------- -- ----
70
71
72 Version 2.1:
73
74 * New matrix mode for square matrices. Improved handling of
75 non-commutative products.
76
77 * New functions: powerexpand and ldiv.
78
79 * Added new functions: sec, csc, cot, sech, csch, coth.
80
81 * 0^0 now evaluates to 1.
82
83 * Added a new language mode for LaTeX.
84
85 * Calc now tries to use an appropriate language mode in embedded mode.
86
87 * Calc now restores original modes when leaving embedded mode.
88
89 * User settable variables which are not set with keystrokes are now
90 customizable.
91
92 * Made ~/.calc.el the default Calc settings file.
93
94 * Miscellaneous updates and bugfixes.
95
96 \f
97 Version 2.02f:
98
99 * Fixed a bug which broke `I', `H', `K' prefix keys in recent Emacs.
100
101 * Fixed a bug in calc.texinfo which prevented "make tex2" from working.
102
103 * Updated `C-y' (calc-yank) to understand Emacs 19 generalized kill ring.
104
105 * Added a copy of "calccard.tex", the Calc quick reference card.
106
107 \f
108 Version 2.02e:
109
110 * Fixed an installation bug caused by recent changes to `write-region'.
111
112 \f
113 Version 2.02d:
114
115 * Fixed a minor installation problem with a Emacs 19.29 byte-compiler bug.
116
117 * Removed archaic "macedit" package (superseded by "edmacro").
118
119 \f
120 Version 2.02c:
121
122 * Patch to port Calc to Lucid Emacs 19; still works with GNU 18 and GNU 19.
123
124 * Fixed a bug that broke `C-x C-c' after Calc graphics had been used.
125
126 \f
127 Version 2.02b:
128
129 * Minor patch to port Calc to GNU Emacs 19. Will be superseded by Calc 3.00.
130
131 \f
132 Version 2.02:
133
134 * Revamped the manual a bit; rearranged some sections.
135
136 * Added marginal notes for Key/Function Index refs in printed manual.
137
138 * Changed `M-# r' to deal more gracefully with blank lines.
139
140 * Made reductions like `V R +' and `M-# :' considerably faster.
141
142 * Improved parsing and display of cases like "[a + b]".
143
144 * Added `t +' and `t -' for doing business date arithmetic.
145
146 * Added "syntax tables," the opposite of compositions.
147
148 * Added another Rewrites Tutorial exercise.
149
150 * Added the "vmatches" function.
151
152 * Added the `Modes' variable and `m g' command.
153
154 * Improved `u s' to cancel, e.g., "11 mph hr / yd" to get a number.
155
156 * Added "quick units" commands "u 0" through "u 9".
157
158 * Moved `M-%' to calc.el to avoid autoloading problems.
159
160 * Added `M-=' during algebraic entry, acts like `RET ='.
161
162 * Made `LFD' prevent evaluation when finishing a calc-edit command.
163
164 * Changed calc-store commands to use `t .' mode for trail display.
165
166 * Improved integrator to understand forms involving "erf".
167
168 * Fixed parser to make sense of "[1....1e2]" input.
169
170 * Fixed FORTRAN parser to treat a(i,j) as a_i_j if a is declared matrix.
171
172 * Got rid of some version number stamps to reduce size of patches.
173
174 * Fixed a bug in defmath treating "<=" and ">=" predicates.
175
176 * Fixed a bug in which Calc crashed multiplying two date forms.
177
178 * Fixed a bug in line breaker that crashed for large, nested formulas.
179
180 * Fixed a bug using ` to edit string("foo").
181
182 * Fixed a bug where `M-# y' in Big mode copied stack level number.
183
184 * Fixed a bug where `g O' used wrong default directory, no completion.
185
186 * Fixed a bug where "foo_bar(i)" parsed in C mode but showed as foo#bar.
187
188 * Fixed several bugs where large calculations got "computation too long."
189
190 \f
191 Version 2.01:
192
193 * Added percentage commands `M-%', `b %', and `c %'.
194
195 * Changed Big mode to force radix-10 in superscripts.
196
197 * Improved display of fractions in various language modes.
198
199 * Changed `a n' to work properly with equations and inequalities.
200
201 * The problem with cross references to Index nodes in TeX has been fixed.
202
203 * Fixed a bug where recursive esc-maps make calc-ext/-aent unloadable.
204
205 * Fixed a bug in `M-# k', then `OFF' right away, with fresh Emacs.
206
207 * Fixed a bug in which "S_i_j" was formatted wrong after `j s'.
208
209 * Fixed a bug in which `h k u c' positioned cursor on wrong line.
210
211 * Fixed a bug where `z ?' crashed if `z %' was defined.
212
213 * Fixed a bug in `j O' (calc-select-once-maybe).
214
215 * Fixed "make private" not to ask "Delete excess versions" and crash.
216
217 \f
218 Version 2.00:
219
220 * First complete posting of Calc since 1.01.
221
222 * Most parts of Calc have seen changes since version 1.07. See
223 section "New for Calc 2.00" in the manual for a summary. In
224 the FTP version of the Calc distribution, the file README.prev
225 contains a detailed change history from 1.00 up to 2.00.
226