aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2018-04-02 22:42:26 -0700
committerPaul Eggert2018-04-02 22:44:37 -0700
commita231c33eabed7d2eb132b8cb45142c3012783f54 (patch)
tree9375a5c0675889d63a560c54e2a04bb74dc022da
parent1527235baf4675f66b1fff2a23d77df031b8c444 (diff)
downloademacs-a231c33eabed7d2eb132b8cb45142c3012783f54.tar.gz
emacs-a231c33eabed7d2eb132b8cb45142c3012783f54.zip
Update "Calendrical Calculations" cites
* lisp/calendar/calendar.el: Update citations to the book "Calendrical Calculations" and its predecessors.
-rw-r--r--lisp/calendar/calendar.el33
1 files changed, 17 insertions, 16 deletions
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index dae7b9dc005..85a5fc0c2bb 100644
--- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -76,20 +76,19 @@
76;; solar.el Sunrise/sunset, equinoxes/solstices 76;; solar.el Sunrise/sunset, equinoxes/solstices
77 77
78;; Technical details of all the calendrical calculations can be found in 78;; Technical details of all the calendrical calculations can be found in
79;; ``Calendrical Calculations: The Millennium Edition'' by Edward M. Reingold 79;; "Calendrical Calculations: The Ultimate Edition" by Edward M. Reingold
80;; and Nachum Dershowitz, Cambridge University Press (2001). 80;; and Nachum Dershowitz, Cambridge University Press (2018).
81 81
82;; An earlier version of the technical details appeared in 82;; An earlier version of the technical details appeared in "Calendrical
83;; ``Calendrical Calculations'' by Nachum Dershowitz and Edward M. Reingold, 83;; Calculations" by Nachum Dershowitz and Edward M. Reingold,
84;; Software--Practice and Experience, Volume 20, Number 9 (September, 1990), 84;; Software--Practice and Experience, Volume 20, Number 9 (September, 1990),
85;; pages 899-928, and in ``Calendrical Calculations, Part II: Three Historical 85;; pages 899-928 <https://doi.org/10.1002/spe.4380200905>
86;; Calendars'' by E. M. Reingold, N. Dershowitz, and S. M. Clamen, 86;; <https://pdfs.semanticscholar.org/83b1/14f570002a7a8e1d4e3730cd0e4cdbcad212.pdf>,
87;; Software--Practice and Experience, Volume 23, Number 4 (April, 1993), 87;; and in "Calendrical Calculations, Part II: Three Historical Calendars" by
88;; pages 383-404. 88;; E. M. Reingold, N. Dershowitz, and S. M. Clamen, Software--Practice and
89 89;; Experience, Volume 23, Number 4 (April, 1993), pages 383-404
90;; Hard copies of these two papers can be obtained by sending email to 90;; <https://doi.org/10.1002/spe.4380230404>
91;; reingold@cs.uiuc.edu with the SUBJECT "send-paper-cal" (no quotes) and 91;; <http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.42.6421&rep=rep1&type=pdf>
92;; the message BODY containing your mailing address (snail).
93 92
94 93
95;; A note on free variables: 94;; A note on free variables:
@@ -1916,10 +1915,12 @@ use instead of point."
1916The absolute date is the number of days elapsed since the (imaginary) 1915The absolute date is the number of days elapsed since the (imaginary)
1917Gregorian date Sunday, December 31, 1 BC. This function does not 1916Gregorian date Sunday, December 31, 1 BC. This function does not
1918handle dates in years BC." 1917handle dates in years BC."
1919 ;; See the footnote on page 384 of ``Calendrical Calculations, Part II: 1918 ;; For an explanation, see the footnote on page 384 of "Calendrical
1920 ;; Three Historical Calendars'' by E. M. Reingold, N. Dershowitz, and S. M. 1919 ;; Calculations, Part II: Three Historical Calendars" by
1921 ;; Clamen, Software--Practice and Experience, Volume 23, Number 4 1920 ;; E. M. Reingold, N. Dershowitz, and S. M. Clamen,
1922 ;; (April, 1993), pages 383-404 for an explanation. 1921 ;; Software--Practice and Experience, Volume 23, Number 4 (April,
1922 ;; 1993), pages 383-404 <https://doi.org/10.1002/spe.4380230404>
1923 ;; <http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.42.6421&rep=rep1&type=pdf>.
1923 (let* ((d0 (1- date)) 1924 (let* ((d0 (1- date))
1924 (n400 (/ d0 146097)) 1925 (n400 (/ d0 146097))
1925 (d1 (% d0 146097)) 1926 (d1 (% d0 146097))