Commit graph

530 commits

Author SHA1 Message Date
Jay Belanger
82472f457c (math-approx-ln-10, math-approx-ln-2): Remove `eval-when-compile's. 2007-08-17 20:20:29 +00:00
Jay Belanger
c6254f53a5 (math-besJ0, math-besJ1, math-besY0, math-besY1)
(math-bernoulli-b-cache): Remove `eval-when-compile's.
2007-08-17 20:20:03 +00:00
Jay Belanger
89027174d3 (math-approx-pi,math-approx-sqrt-e,math-approx-gamma-const):
Remove `eval-when-compile's.
2007-08-17 20:19:36 +00:00
Jay Belanger
2aad2a8401 (math-small-factorial-table): Remove `eval-when-compile's. 2007-08-17 20:19:11 +00:00
Jay Belanger
b411074b9d (math-bignum-logb-digit-size,math-bignum-digit-power-of-two):
Remove `eval-when-compile's.
2007-08-17 20:18:45 +00:00
Jay Belanger
37cecd78a0 (math-bignum-digit-length): Compute the appropriate value. 2007-08-17 20:18:16 +00:00
Jay Belanger
7026903cf3 (math-standard-units): Give exact conversion for tsp. 2007-08-17 19:57:14 +00:00
Jay Belanger
82f36338e6 (calc-language-alist): Add texinfo-mode. 2007-08-17 03:57:06 +00:00
Jay Belanger
a21f3259fd (math-standard-units): Update values. Put in exact values when
possible.
(math-unit-prefixes): Replace floats with powers of ten.
(math-standard-units-systems): Replace floats with integers.
(math-make-unit-string): Remove extra spaces in output.
2007-08-15 15:42:58 +00:00
Jay Belanger
8f26ce7300 calc-aent.el
calc-do-quick-calc: Add base 2 to the list of outputs of integers.
2007-08-14 14:52:51 +00:00
Jay Belanger
5360ea16a4 (math-get-standard-units,math-get-units,math-make-unit-string)
(math-get-default-units,math-put-default-units): New functions.
(math-default-units-table): New variable.
(calc-convert-units, calc-convert-temperature): Add machinery to
supply default values.
2007-08-14 05:24:35 +00:00
Jay Belanger
e6cd99dc69 (calc-convert-temperature): Use `/' to create fractions. 2007-08-07 21:06:29 +00:00
Jay Belanger
bdf007a02b (math-nlfit-curve): Remove unnecessary variables.
(math-nlfit-givens): Let bind free variables.
2007-08-05 13:22:45 +00:00
Miles Bader
975418f0cb Add arch tagline 2007-08-05 02:09:12 +00:00
Jay Belanger
2230383b2e (calc-curve-fit): Change plot indicator. 2007-08-04 15:12:22 +00:00
Jay Belanger
48b097e0c2 (calc-curve-fit): Change plot indicator. 2007-08-04 04:39:35 +00:00
Jay Belanger
def4f741fc (calc-curve-fit): Add "plot" indicator. 2007-08-04 04:33:07 +00:00
Jay Belanger
08626df898 New file. 2007-08-04 03:54:14 +00:00
Jay Belanger
b07251cc94 (calc-curve-fit): Add support for nonlinear curves and plotting. 2007-08-04 03:52:06 +00:00
Jay Belanger
480e4ad156 (calc-graph-format-data,calc-graph-add-curve): Check for error forms.
(calc-graph-set-styles): Add option for error forms.
2007-08-03 05:25:03 +00:00
Jay Belanger
6a599ca51f (math-get-value,math-get-sdev,math-contains-sdev): New functions. 2007-08-03 05:21:43 +00:00
Jay Belanger
17cc361e49 (math-sqrt-raw,math-sin-raw-2,math-cos-raw-2,math-arctan-raw)
(math-ln-raw): Use native Emacs functions, when appropriate.
2007-08-02 04:10:17 +00:00
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