diff options
| author | Jay Belanger | 2007-07-08 00:06:26 +0000 |
|---|---|---|
| committer | Jay Belanger | 2007-07-08 00:06:26 +0000 |
| commit | 94c95a358a8d92a90d48bac59d0f581280d670f0 (patch) | |
| tree | 7eb32abb33c4e88a8142b93fdc1035eb0489f59c | |
| parent | 3bf971143f247f7a9fe61390dbf1d23b1794c5f4 (diff) | |
| download | emacs-94c95a358a8d92a90d48bac59d0f581280d670f0.tar.gz emacs-94c95a358a8d92a90d48bac59d0f581280d670f0.zip | |
(math-approx-ln-10,math-approx-ln-2): Add docstrings.
| -rw-r--r-- | lisp/ChangeLog | 21 | ||||
| -rw-r--r-- | lisp/calc/calc-math.el | 6 |
2 files changed, 25 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b77f7609620..aa6f87d2088 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,24 @@ | |||
| 1 | 2007-07-07 Jay Belanger <jay.p.belanger@gmail.com> | ||
| 2 | |||
| 3 | * calc/calc.el (math-read-number-simple): Remove leading 0s. | ||
| 4 | (math-bignum-digit-length): Change to optimal value. | ||
| 5 | |||
| 6 | * calc/calc-comb.el (math-small-factorial-table) | ||
| 7 | (math-init-random-base,math-prime-test): Remove unnecessary calls | ||
| 8 | to `math-read-number-simple'. | ||
| 9 | |||
| 10 | * calc/calc-ext.el (math-approx-pi,math-approx-sqrt-e) | ||
| 11 | (math-approx-gamma-const): Add docstrings. | ||
| 12 | |||
| 13 | * calc/calc-forms.el (math-julian-date-beginning) | ||
| 14 | (math-julian-date-beginning-int) New constants. | ||
| 15 | (math-format-date-part,math-parse-standard-date,calcFunc-julian): | ||
| 16 | Use the new constants. | ||
| 17 | |||
| 18 | * calc/calc-funcs.el (math-gammap1-raw): Add docstring. | ||
| 19 | |||
| 20 | * calc/calc-math.el (math-approx-ln-10,math-approx-ln-2): Add docstrings. | ||
| 21 | |||
| 1 | 2007-07-07 Tom Tromey <tromey@redhat.com> | 22 | 2007-07-07 Tom Tromey <tromey@redhat.com> |
| 2 | 23 | ||
| 3 | * vc.el (vc-annotate): Jump to line and output message only after the | 24 | * vc.el (vc-annotate): Jump to line and output message only after the |
diff --git a/lisp/calc/calc-math.el b/lisp/calc/calc-math.el index 6ee7a49feab..d8de812421f 100644 --- a/lisp/calc/calc-math.el +++ b/lisp/calc/calc-math.el | |||
| @@ -1720,14 +1720,16 @@ | |||
| 1720 | 1720 | ||
| 1721 | (defconst math-approx-ln-10 | 1721 | (defconst math-approx-ln-10 |
| 1722 | (eval-when-compile | 1722 | (eval-when-compile |
| 1723 | (math-read-number-simple "2.302585092994045684018"))) | 1723 | (math-read-number-simple "2.302585092994045684018")) |
| 1724 | "An approximation for ln(10).") | ||
| 1724 | 1725 | ||
| 1725 | (math-defcache math-ln-10 math-approx-ln-10 | 1726 | (math-defcache math-ln-10 math-approx-ln-10 |
| 1726 | (math-ln-raw-2 '(float 1 1))) | 1727 | (math-ln-raw-2 '(float 1 1))) |
| 1727 | 1728 | ||
| 1728 | (defconst math-approx-ln-2 | 1729 | (defconst math-approx-ln-2 |
| 1729 | (eval-when-compile | 1730 | (eval-when-compile |
| 1730 | (math-read-number-simple "0.693147180559945309417"))) | 1731 | (math-read-number-simple "0.693147180559945309417")) |
| 1732 | "An approximation for ln(2).") | ||
| 1731 | 1733 | ||
| 1732 | (math-defcache math-ln-2 math-approx-ln-2 | 1734 | (math-defcache math-ln-2 math-approx-ln-2 |
| 1733 | (math-ln-raw-3 (math-float '(frac 1 3)))) | 1735 | (math-ln-raw-3 (math-float '(frac 1 3)))) |