changeset 49695:287be189a2e6

(e): Make it a variable.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 10 Feb 2003 22:22:51 +0000
parents 3738a81ff66f
children b9ae76081fef
files lisp/float-sup.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/float-sup.el	Mon Feb 10 22:21:46 2003 +0000
+++ b/lisp/float-sup.el	Mon Feb 10 22:22:51 2003 +0000
@@ -36,7 +36,9 @@
 ;; provide an easy hook to tell if we are running with floats or not.
 ;; define pi and e via math-lib calls. (much less prone to killer typos.)
 (defconst pi (* 4 (atan 1)) "The value of Pi (3.1415926...).")
-(defconst e (exp 1) "The value of e (2.7182818...).")
+;; It's too inconvenient to make `e' a constant because it's used as
+;; a temporary variable all the time.
+(defvar e (exp 1) "The value of e (2.7182818...).")
 
 ;; Careful when editing this file ... typos here will be hard to spot.
 ;; (defconst pi       3.14159265358979323846264338327