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