Commit graph

908 commits

Author SHA1 Message Date
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
61a31ddcf4 Switch license to GPLv3 or later. 2007-07-25 08:16:16 +00:00
Glenn Morris
075969b476 Switch license to GPLv3 or later. 2007-07-25 03:51:22 +00:00
Jay Belanger
178b8bafc2 (math-emacs-precision, math-largest-emacs-expt)
(math-smallest-emacs-expt): New variables.
(math-use-emacs-fn): New function.
(math-exp-raw): Evaluate with `math-use-emacs-fn', when appropriate.
2007-07-22 03:34:39 +00:00
Jay Belanger
236e165a5a (math-bignum-digit-length,math-bignum-digit-size,math-small-integer-size):
Don't eval when compiled.
2007-07-08 01:40:33 +00:00
Jay Belanger
9f2dcb8bcf (math-bignum-logb-digit-size,math-bignum-digit-power-of-two):
Evaluate when compiled.
2007-07-08 00:26:02 +00:00
Jay Belanger
4346200eb9 (math-bignum-logb-digit-size,math-bignum-digit-power-of-two): Evaluate
when compiled.
2007-07-08 00:18:06 +00:00
Jay Belanger
9066adc420 (math-bignum-digit-size,math-small-integer-size): Evaluate when compiled. 2007-07-08 00:14:16 +00:00
Jay Belanger
a6a0d3cbf5 (math-bignum-digit-length): Evaluate when compiled. 2007-07-08 00:11:09 +00:00
Jay Belanger
94c95a358a (math-approx-ln-10,math-approx-ln-2): Add docstrings. 2007-07-08 00:06:26 +00:00
Jay Belanger
3bf971143f (math-gammap1-raw): Add docstring. 2007-07-08 00:01:06 +00:00
Jay Belanger
98e9ffe31e (math-julian-date-beginning,math-julian-date-beginning-int) New constants.
(math-format-date-part,math-parse-standard-date,calcFunc-julian):
Use the new constants.
2007-07-08 00:00:30 +00:00
Jay Belanger
fd8eab36a0 (math-approx-pi,math-approx-sqrt-e,math-approx-gamma-const):
Add docstrings.
2007-07-07 23:57:23 +00:00
Jay Belanger
4b4b19bdd5 (math-small-factorial-table,math-init-random-base,math-prime-test):
Remove unnecessary calls to `math-read-number-simple'.
2007-07-07 23:56:56 +00:00
Jay Belanger
aefad52dcd (math-bignum-digit-length): Change to optimal value.
(math-read-number-simple): Remove leading 0s.
2007-07-07 23:56:33 +00:00
Jay Belanger
e90988a097 (math-read-number): Replace number by variable.
(math-read-number-simple): Properly parse small integers.
2007-07-07 04:15:40 +00:00
Jay Belanger
9ae06d96f6 (math-add-bignum): Replace number by constant. 2007-07-06 03:58:00 +00:00
Jay Belanger
3fa5c46284 (math-bignum-logb-digit-size,math-bignum-digit-power-of-two): New
constants.
(math-and-bignum,math-or-bignum,math-xor-bignum,math-diff-bignum)
(math-not-bignum,math-clip-bignum): Use the constants
math-bignum-digit-power-of-two and math-bignum-logb-digit-size instead
of their values.
(math-clip): Use math-small-integer-size instead of its value.
2007-07-06 02:41:18 +00:00
Jay Belanger
e4ebbf4941 (math-random-digit): Rename to `math-random-three-digit-number'.
(math-random-digits): Don't depend on representation of integers.
2007-07-06 02:06:30 +00:00
Jay Belanger
aa9f275176 (math-small-factorial-table): Replace list by vector. 2007-07-04 04:36:04 +00:00
David Kastrup
fed082a09c (math-padded-polynomial)
(math-partial-fractions): Add some function comments.
2007-06-25 20:55:56 +00:00
Jay Belanger
98888d774f (math-scale-bignum-digit-size): Renamed from math-scale-bignum-3.
(math-isqrt-bignum): Use math-scale-bignum-digit-size and
math-bignum-digit-size.
(math-isqrt-small): Add another possible initial guess.
2007-06-24 19:46:53 +00:00
Jay Belanger
f164b8c846 (math-div2-bignum): Use math-bignum-digit-size. 2007-06-24 19:37:43 +00:00
Jay Belanger
40cddce8bd (math-init-random-base,math-prime-test): Use math-read-number-simple
to insert constants.
(math-prime-test): Redo calculation of sum.
2007-06-24 14:30:14 +00:00
Jay Belanger
b593f1de16 (math-fixnum-big): Use the variable math-bignum-digit-size. 2007-06-23 04:36:29 +00:00
Jay Belanger
a6d107f171 (math-bignum-digit-length,math-bignum-digit-size,math-small-integer-size):
New constants.
(math-normalize,math-bignum-big,math-make-float,math-div10-bignum)
(math-scale-left,math-scale-left-bignum,math-scale-right)
(math-scale-right-bignum,math-scale-rounding,math-add,math-add-bignum)
(math-sub-bignum,math-sub,math-mul,math-mul-bignum,math-mul-bignum-digit)
(math-idivmod,math-quotient,math-div-bignum,math-div-bignum-digit)
(math-div-bignum-part,math-format-bignum-decimal,math-read-bignum):
Use math-bignum-digit-length, math-bignum-digit-size and
math-small-integer-size.
2007-06-23 04:08:18 +00:00
Jay Belanger
092c493633 (math-format-date-part,calc-parse-standard-date,calcFunc-julian):
Fix incorrect number used in calculations.
2007-06-22 15:05:08 +00:00
Jay Belanger
4603f755b4 (math-approx-ln-10, math-approx-ln-2): New variables to use in caches. 2007-06-22 06:12:35 +00:00
Jay Belanger
f83b9601ef *** empty log message *** 2007-06-22 06:10:39 +00:00
Jay Belanger
206be3d94c (math-small-factorial-table): Eval when compile. 2007-06-22 06:04:45 +00:00
Jay Belanger
cebd3c8a27 *** empty log message *** 2007-06-22 06:02:50 +00:00
Jay Belanger
37b5443868 (math-approx-pi,math-approx-sqrt-e,math-approx-gamma-const): New
variables to use in caches.
2007-06-22 06:00:39 +00:00
Jay Belanger
e5f1224e18 (math-format-date-part,math-parse-standard-date,calcFunc-julian):
Replace math-read-number-simple by math-read-number.
2007-06-22 05:52:29 +00:00
Jay Belanger
4903b28a12 (math-besJ0): Replace math-read-number-simple by math-read-number. 2007-06-22 05:48:07 +00:00
Jay Belanger
a8775b6dcf (math-besJ0,math-besJ1,math-besY0,math-besY1,math-bernoulli-b-cache):
Use math-read-number to insert bignums.
2007-06-22 05:45:52 +00:00
Jay Belanger
3b6d80bc94 (math-format-date-part,math-parse-standard-date,calcFunc-julian):
Use `math-read-number-simple' to insert bignums.
2007-06-22 04:09:00 +00:00
Jay Belanger
f9e09a51db (math-defcache): Allow forms to evaluate to initial values.
(math-pi,math-sqrt-e,math-gamma-const): Use `math-read-number-simple'
to write initial values.
2007-06-22 04:00:12 +00:00
Jay Belanger
887fc3b8cc (math-small-factorial-table): New variable.
(calcFunc-fact): Use `math-small-factorial-table'.
2007-06-22 01:13:01 +00:00
Jay Belanger
1f26c38058 (math-read-number-simple): New function. 2007-06-22 01:05:10 +00:00
Jay Belanger
cad63e32bd (math-standard-ops): Fix precedence of multiplication. 2007-06-20 19:32:49 +00:00
Jay Belanger
b20c4725bd (math-compose-expr): Let math-expr-opers equal math-expr-ops. 2007-06-20 04:17:51 +00:00
Jay Belanger
84812f0e31 (calc-finish-stack-edit): Let math-expr-opers equal the function
math-standard-ops rather than the variable math-standard-opers.
2007-06-20 04:17:27 +00:00
Jay Belanger
0de7d71431 (calc-read-parse-table): Let math-expr-opers equal the function
math-standard-ops rather than the variable math-standard-opers.
2007-06-20 04:16:57 +00:00
Jay Belanger
09be88b3d3 (calc-set-language,math-read-big-rec): Let math-expr-opers equal the
function math-standard-ops rather than the variable
math-standard-opers.
2007-06-20 04:15:12 +00:00
Jay Belanger
1dccbfee1a (math-read-plain-expr,math-format-flat-expr-fancy): Let
math-expr-opers equal the function math-standard-ops rather
than the variable math-standard-opers.
2007-06-20 04:14:24 +00:00
Jay Belanger
2a6f048c0f (calc-embedded-finish-edit): Let math-expr-opers equal the function
math-standard-ops rather than the variable math-standard-opers.
2007-06-20 04:13:06 +00:00
Jay Belanger
16819e4854 (calc-do-calc-eval): Let math-expr-opers equal the function
math-standard-ops rather than the variable math-standard-opers.
(calc-algebraic-entry): Let math-expr-opers equal math-standard-ops or
math-expr-ops, as appropriate.
(math-expr-read-level,math-read-factor): Let math-expr-opers equal
math-expr-ops.
2007-06-20 04:12:15 +00:00
Jay Belanger
515e955e0a (calc-multiplication-has-precendence): New variable.
(math-standard-ops,math-standard-ops-p,math-expr-ops): New functions.
(math-expr-opers): Define using math-standard-ops rather than
math-standard-opers.
2007-06-20 04:07:24 +00:00
Glenn Morris
23d0be646c (calc-full-help): Use emacs-copyright. 2007-06-07 07:27:26 +00:00
Jay Belanger
e8fff8ed68 Update maintainer's address. 2007-04-23 21:30:42 +00:00