aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/float-sup.el
diff options
context:
space:
mode:
authorStefan Monnier2003-02-10 22:27:33 +0000
committerStefan Monnier2003-02-10 22:27:33 +0000
commit9a0fc3da6fd595c3f95f856cdfadc9a6b0dfb2c4 (patch)
tree0c8522efe424d9b39001611c2a3917e40b637e34 /lisp/float-sup.el
parent9925c4191b6deb8efd24dceed27ff2aa62b6fa05 (diff)
downloademacs-9a0fc3da6fd595c3f95f856cdfadc9a6b0dfb2c4.tar.gz
emacs-9a0fc3da6fd595c3f95f856cdfadc9a6b0dfb2c4.zip
(e): Make it a variable.
Diffstat (limited to 'lisp/float-sup.el')
-rw-r--r--lisp/float-sup.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/float-sup.el b/lisp/float-sup.el
index b587a51b85b..29b918a3bc3 100644
--- a/lisp/float-sup.el
+++ b/lisp/float-sup.el
@@ -36,7 +36,9 @@
36;; provide an easy hook to tell if we are running with floats or not. 36;; provide an easy hook to tell if we are running with floats or not.
37;; define pi and e via math-lib calls. (much less prone to killer typos.) 37;; define pi and e via math-lib calls. (much less prone to killer typos.)
38(defconst pi (* 4 (atan 1)) "The value of Pi (3.1415926...).") 38(defconst pi (* 4 (atan 1)) "The value of Pi (3.1415926...).")
39(defconst e (exp 1) "The value of e (2.7182818...).") 39;; It's too inconvenient to make `e' a constant because it's used as
40;; a temporary variable all the time.
41(defvar e (exp 1) "The value of e (2.7182818...).")
40 42
41;; Careful when editing this file ... typos here will be hard to spot. 43;; Careful when editing this file ... typos here will be hard to spot.
42;; (defconst pi 3.14159265358979323846264338327 44;; (defconst pi 3.14159265358979323846264338327