]> git.eshelyaron.com Git - emacs.git/commitdiff
(math-approx-ln-10,math-approx-ln-2): Add docstrings.
authorJay Belanger <jay.p.belanger@gmail.com>
Sun, 8 Jul 2007 00:06:26 +0000 (00:06 +0000)
committerJay Belanger <jay.p.belanger@gmail.com>
Sun, 8 Jul 2007 00:06:26 +0000 (00:06 +0000)
lisp/ChangeLog
lisp/calc/calc-math.el

index b77f76096202863a73da48f69f4e8406ef312a04..aa6f87d2088330f14bbda8c0ee0bf417c910d5b4 100644 (file)
@@ -1,3 +1,24 @@
+2007-07-07  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc.el (math-read-number-simple): Remove leading 0s.
+       (math-bignum-digit-length): Change to optimal value.
+
+       * calc/calc-comb.el (math-small-factorial-table)
+       (math-init-random-base,math-prime-test): Remove unnecessary calls
+       to `math-read-number-simple'.
+
+       * calc/calc-ext.el (math-approx-pi,math-approx-sqrt-e)
+       (math-approx-gamma-const): Add docstrings.
+
+       * calc/calc-forms.el (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.
+
+       * calc/calc-funcs.el (math-gammap1-raw): Add docstring.
+
+       * calc/calc-math.el (math-approx-ln-10,math-approx-ln-2): Add docstrings.
+
 2007-07-07  Tom Tromey  <tromey@redhat.com>
 
        * vc.el (vc-annotate): Jump to line and output message only after the
index 6ee7a49feabf688f36b8e1fd576ebd11e585cf72..d8de812421f4d80ed6ca014ad2ac99976760f0a8 100644 (file)
 
 (defconst math-approx-ln-10
   (eval-when-compile
-    (math-read-number-simple "2.302585092994045684018")))
+    (math-read-number-simple "2.302585092994045684018"))
+  "An approximation for ln(10).")
      
 (math-defcache math-ln-10 math-approx-ln-10
   (math-ln-raw-2 '(float 1 1)))
 
 (defconst math-approx-ln-2
   (eval-when-compile
-    (math-read-number-simple "0.693147180559945309417")))
+    (math-read-number-simple "0.693147180559945309417"))
+  "An approximation for ln(2).")
 
 (math-defcache math-ln-2 math-approx-ln-2
   (math-ln-raw-3 (math-float '(frac 1 3))))