1993
DOI: 10.1002/spe.4380230404
|View full text |Cite
|
Sign up to set email alerts
|

Calendrical calculations, II: Three historical calendars

Abstract: Algorithmic presentations are given for three calendars of historical interest, the Mayan, French Revolutionary, and Old Hindu.

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1

Citation Types

0
3
0

Year Published

1994
1994
2018
2018

Publication Types

Select...
3
2

Relationship

0
5

Authors

Journals

citations
Cited by 5 publications
(3 citation statements)
references
References 6 publications
0
3
0
Order By: Relevance
“…Efficiency has not been considered critical, in part because input and output performance is ultimately limited to the latency of I/O devices, which can be orders of magnitude slower than CPU speeds. As we demonstrate empirically later in this paper, input of a Gregorian calendar date such as 'January 1, 1993' using a commercially available routine takes approximately 3 ms, whereas output is substantially faster at 0.12 ms (on a 12-MIPS machine), The large disparity between the speeds of input and output cited above is due to the fact that this particular commercial input routine dynamically allocates memory during execution, whereas the output routine does not. To display the resulting string on a screen at 9600 baud takes much longer, about 13 ms.…”
Section: Introductionmentioning
confidence: 72%
“…Efficiency has not been considered critical, in part because input and output performance is ultimately limited to the latency of I/O devices, which can be orders of magnitude slower than CPU speeds. As we demonstrate empirically later in this paper, input of a Gregorian calendar date such as 'January 1, 1993' using a commercially available routine takes approximately 3 ms, whereas output is substantially faster at 0.12 ms (on a 12-MIPS machine), The large disparity between the speeds of input and output cited above is due to the fact that this particular commercial input routine dynamically allocates memory during execution, whereas the output routine does not. To display the resulting string on a screen at 9600 baud takes much longer, about 13 ms.…”
Section: Introductionmentioning
confidence: 72%
“…For comparison, in a functional style it is more natural to de ne special functions for each calendar e.g., the pair absolute from gregorian and gregorian from absolute would de ne the Gregorian calendar. Dershowitz et al 3,7] have written such pairs of functions in Common Lisp for several recent and historical calendars. To write just two complex functions in Common Lisp and distinguishing several cases according to respective calendars inside them is technically feasible, but it would inevitably lead to functions several pages long, which contradicts any principle of a good programming style.…”
Section: Conversion Between Calendarsmentioning
confidence: 99%
“…The example is taken from the area of calendrical calculations. Several calendars, both recent and historical were described using the functional programming paradigm in Common Lisp by 3,7].…”
Section: Introductionmentioning
confidence: 99%