Mercurial > emacs
comparison lisp/emacs-lisp/float-sup.el @ 75738:6c9ecc15b648
Remove obsolete comment.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 09 Feb 2007 11:23:37 +0000 |
parents | 7a3f13e2dd57 |
children | 935157c0b596 52a7f3f50b89 |
comparison
equal
deleted
inserted
replaced
75737:9367d9077081 | 75738:6c9ecc15b648 |
---|---|
35 (error "Floating point was disabled at compile time")) | 35 (error "Floating point was disabled at compile time")) |
36 | 36 |
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 ;; 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 | 44 |
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) |
51 "Radian to degree conversion constant.") | 48 "Radian to degree conversion constant.") |