]> code.delx.au - gnu-emacs/commitdiff
* lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.
authorGlenn Morris <rgm@gnu.org>
Mon, 18 May 2015 06:02:10 +0000 (23:02 -0700)
committerGlenn Morris <rgm@gnu.org>
Mon, 18 May 2015 06:02:10 +0000 (23:02 -0700)
lisp/calendar/solar.el

index 25a24eeffeb4cf567ac87b2f1f348f73d09bf987..a2f9d58585a189b5d1ab82abd72e600f0053c5c7 100644 (file)
@@ -346,7 +346,7 @@ If SUNRISE-FLAG is non-nil, only calculate longitude and inclination."
                                    (solar-cosine-degrees (* 2 l)))
                                 (* -0.5 y y  (solar-sin-degrees (* 4 l)))
                                 (* -1.25 ecc ecc (solar-sin-degrees (* 2 m)))))
-                       3.1415926535))))
+                       float-pi))))
     (list app i time-eq nut)))
 
 (defun solar-ephemeris-correction (year)