aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/float-sup.el5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/float-sup.el b/lisp/emacs-lisp/float-sup.el
index 6f24e9bb749..68326c1bc06 100644
--- a/lisp/emacs-lisp/float-sup.el
+++ b/lisp/emacs-lisp/float-sup.el
@@ -37,14 +37,11 @@
37;; provide an easy hook to tell if we are running with floats or not. 37;; provide an easy hook to tell if we are running with floats or not.
38;; define pi and e via math-lib calls. (much less prone to killer typos.) 38;; define pi and e via math-lib calls. (much less prone to killer typos.)
39(defconst pi (* 4 (atan 1)) "The value of Pi (3.1415926...).") 39(defconst pi (* 4 (atan 1)) "The value of Pi (3.1415926...).")
40
40;; It's too inconvenient to make `e' a constant because it's used as 41;; It's too inconvenient to make `e' a constant because it's used as
41;; a temporary variable all the time. 42;; a temporary variable all the time.
42(defvar e (exp 1) "The value of e (2.7182818...).") 43(defvar e (exp 1) "The value of e (2.7182818...).")
43 44
44;; Careful when editing this file ... typos here will be hard to spot.
45;; (defconst pi 3.14159265358979323846264338327
46;; "The value of Pi (3.14159265358979323846264338327...)")
47
48(defconst degrees-to-radians (/ pi 180.0) 45(defconst degrees-to-radians (/ pi 180.0)
49 "Degrees to radian conversion constant.") 46 "Degrees to radian conversion constant.")
50(defconst radians-to-degrees (/ 180.0 pi) 47(defconst radians-to-degrees (/ 180.0 pi)