Add 2012 to FSF copyright years for Emacs files (do not merge to trunk)
[emacs.git] / lisp / calc / README
blob69b4fa7253d375776a0519b1aaf800bba541c1bb
1 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
2   Free Software Foundation, Inc.
3 See the end of the file for license conditions.
6 This directory contains Calc, an advanced desk calculator for GNU
7 Emacs.
9 "Calc"  Copyright (C) 1990, 1991, 1992, 1993, 2001, 2002, 2003, 2004, 
10    2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012  Free Software Foundation, Inc.
12 Written 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
19 Currently maintained by:
20      Jay Belanger <jay.p.belanger@gmail.com>
22 From the introduction to the manual:
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:
28     * Choice of algebraic or RPN (stack-based) entry of calculations.
30     * Arbitrary precision integers and floating-point numbers.
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.
37     * Mathematical operations such as logarithms and trigonometric functions.
39     * Programmer's features (bitwise operations, non-decimal numbers).
41     * Financial functions such as future value and internal rate of return.
43     * Number theoretical features such as prime factorization and
44       arithmetic modulo M for any M.
46     * Algebraic manipulation features, including symbolic calculus.
48     * Moving data to and from regular editing buffers.
50     * "Embedded mode" for manipulating Calc formulas and data directly
51       inside any editing buffer.
53     * Graphics using GNUPLOT, a versatile (and free) plotting program.
55     * Easy programming using keyboard macros, algebraic formulas,
56       algebraic rewrite rules, or extended Emacs Lisp.
59 Calc is written entirely in Emacs Lisp, for maximum portability.
61 I am anxious to hear about your experiences using Calc.  Send mail to
62 "jay.p.belanger@gmail.com".  A bug report is most useful if you include the
63 exact input and output that occurred, any modes in effect (such as the
64 current precision), and so on.  If you find Calc is difficult to operate
65 in any way, or if you have other suggestions, don't hesitate to let me
66 know.  If you find errors (including simple typos) in the manual, let
67 me know.  Even if you find no bugs at all I would love to hear your
68 opinions.
72 Summary of changes to "Calc"
73 ------- -- ------- --  ----
75 Emacs 23.2
77 * Added twos-complement display.
79 Emacs 23.1:
81 * Gave `j *' (cal-sel-mult-both-sides) an option to expand the
82   denominator.
84 * Use `calc-embedded-word-regexp' for finding words in
85   `calc-embedded-word' in place of delimiters.
87 * Remove version numbering; use Emacs version for reference.
89 * Added support for using registers.
91 * Added support for Yacas, Maxima and Giac languages.
93 * Added a menu.
95 * Added logistic non-linear curves to curve-fitting.
97 * Added option of plotting data points and curve when curve-fitting.
99 * Made unit conversions exact when possible.
101 * Lowered the precedence of negation.
103 Version 2.1:
105 * New matrix mode for square matrices.  Improved handling of
106   non-commutative products.
108 * New functions: powerexpand and ldiv.
110 * Added new functions: sec, csc, cot, sech, csch, coth.
112 * 0^0 now evaluates to 1.
114 * Added a new language mode for LaTeX.
116 * Calc now tries to use an appropriate language mode in embedded mode.
118 * Calc now restores original modes when leaving embedded mode.
120 * User settable variables which are not set with keystrokes are now
121   customizable.
123 * Made ~/.calc.el the default Calc settings file.
125 * Miscellaneous updates and bugfixes.
128 Version 2.02f:
130  * Fixed a bug which broke `I', `H', `K' prefix keys in recent Emacs.
132  * Fixed a bug in calc.texinfo which prevented "make tex2" from working.
134  * Updated `C-y' (calc-yank) to understand Emacs 19 generalized kill ring.
136  * Added a copy of "calccard.tex", the Calc quick reference card.
139 Version 2.02e:
141  * Fixed an installation bug caused by recent changes to `write-region'.
144 Version 2.02d:
146  * Fixed a minor installation problem with a Emacs 19.29 byte-compiler bug.
148  * Removed archaic "macedit" package (superseded by "edmacro").
151 Version 2.02c:
153  * Patch to port Calc to Lucid Emacs 19; still works with GNU 18 and GNU 19.
155  * Fixed a bug that broke `C-x C-c' after Calc graphics had been used.
158 Version 2.02b:
160  * Minor patch to port Calc to GNU Emacs 19.  Will be superseded by Calc 3.00.
163 Version 2.02:
165  * Revamped the manual a bit; rearranged some sections.
167  * Added marginal notes for Key/Function Index refs in printed manual.
169  * Changed `M-# r' to deal more gracefully with blank lines.
171  * Made reductions like `V R +' and `M-# :' considerably faster.
173  * Improved parsing and display of cases like "[a + b]".
175  * Added `t +' and `t -' for doing business date arithmetic.
177  * Added "syntax tables," the opposite of compositions.
179  * Added another Rewrites Tutorial exercise.
181  * Added the "vmatches" function.
183  * Added the `Modes' variable and `m g' command.
185  * Improved `u s' to cancel, e.g., "11 mph hr / yd" to get a number.
187  * Added "quick units" commands "u 0" through "u 9".
189  * Moved `M-%' to calc.el to avoid autoloading problems.
191  * Added `M-=' during algebraic entry, acts like `RET ='.
193  * Made `LFD' prevent evaluation when finishing a calc-edit command.
195  * Changed calc-store commands to use `t .' mode for trail display.
197  * Improved integrator to understand forms involving "erf".
199  * Fixed parser to make sense of "[1....1e2]" input.
201  * Fixed FORTRAN parser to treat a(i,j) as a_i_j if a is declared matrix.
203  * Got rid of some version number stamps to reduce size of patches.
205  * Fixed a bug in defmath treating "<=" and ">=" predicates.
207  * Fixed a bug in which Calc crashed multiplying two date forms.
209  * Fixed a bug in line breaker that crashed for large, nested formulas.
211  * Fixed a bug using ` to edit string("foo").
213  * Fixed a bug where `M-# y' in Big mode copied stack level number.
215  * Fixed a bug where `g O' used wrong default directory, no completion.
217  * Fixed a bug where "foo_bar(i)" parsed in C mode but showed as foo#bar.
219  * Fixed several bugs where large calculations got "computation too long."
222 Version 2.01:
224  * Added percentage commands `M-%', `b %', and `c %'.
226  * Changed Big mode to force radix-10 in superscripts.
228  * Improved display of fractions in various language modes.
230  * Changed `a n' to work properly with equations and inequalities.
232  * The problem with cross references to Index nodes in TeX has been fixed.
234  * Fixed a bug where recursive esc-maps make calc-ext/-aent unloadable.
236  * Fixed a bug in `M-# k', then `OFF' right away, with fresh Emacs.
238  * Fixed a bug in which "S_i_j" was formatted wrong after `j s'.
240  * Fixed a bug in which `h k u c' positioned cursor on wrong line.
242  * Fixed a bug where `z ?' crashed if `z %' was defined.
244  * Fixed a bug in `j O' (calc-select-once-maybe).
246  * Fixed "make private" not to ask "Delete excess versions" and crash.
249 Version 2.00:
251  * First complete posting of Calc since 1.01.
253  * Most parts of Calc have seen changes since version 1.07.  See
254    section "New for Calc 2.00" in the manual for a summary.  In
255    the FTP version of the Calc distribution, the file README.prev
256    contains a detailed change history from 1.00 up to 2.00.
259 This file is part of GNU Emacs.
261 GNU Emacs is free software: you can redistribute it and/or modify
262 it under the terms of the GNU General Public License as published by
263 the Free Software Foundation, either version 3 of the License, or
264 (at your option) any later version.
266 GNU Emacs is distributed in the hope that it will be useful,
267 but WITHOUT ANY WARRANTY; without even the implied warranty of
268 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
269 GNU General Public License for more details.
271 You should have received a copy of the GNU General Public License
272 along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.