doomsdayrule.blogspot.com
Accelerated Doomsday: Sakamoto's Algorithm
http://doomsdayrule.blogspot.com/2011/08/sakamotos-algorithm.html
Sunday, August 7, 2011. Tomohiko Sakamoto came up with a terse program for calculating the day of the week in 1993. His code was written in the C language. The non-portable code goes like this:. Int dayofweek(unsigned int y, unsigned int m, unsigned int d). Return (y y/4 - y/100 y/400 "-bed=pen mad."[m] d) % 7;. Here is the portable version:. Int dayofweek(int y, int m, int d). Return (y y/4 - y/100 y/400 t[m-1] d) % 7;. Subscribe to: Post Comments (Atom). And part 2 (pdf). View my complete profile.
doomsdayrule.blogspot.com
Accelerated Doomsday: July 2012
http://doomsdayrule.blogspot.com/2012_07_01_archive.html
Tuesday, July 31, 2012. Wall Street Crash of 1929. The Great Crash (aka the Wall Street Crash of 1929) occurred in October 29, 1929. This day in history is also known as. Saturday and Sunday are excluded because the stock market is closed on those days. Subscribe to: Posts (Atom). Methods for Accelerating Conway's Doomsday Algorithm (part 1). And part 2 (pdf). Scientific American: What Day is Doomsday? An Easier Doomsday Algorithm (by Mike Walters). First Sunday Doomsday Algorithm (by Bob Goddard).
doomsdayrule.blogspot.com
Accelerated Doomsday: Wall Street Crash of 1929
http://doomsdayrule.blogspot.com/2012/07/the-great-crash-aka-wall-street-crash.html
Tuesday, July 31, 2012. Wall Street Crash of 1929. The Great Crash (aka the Wall Street Crash of 1929) occurred in October 29, 1929. This day in history is also known as. Saturday and Sunday are excluded because the stock market is closed on those days. Subscribe to: Post Comments (Atom). Methods for Accelerating Conway's Doomsday Algorithm (part 1). And part 2 (pdf). Scientific American: What Day is Doomsday? An Easier Doomsday Algorithm (by Mike Walters). First Sunday Doomsday Algorithm (by Bob Goddard).
doomsdayrule.blogspot.com
Accelerated Doomsday: June 2010
http://doomsdayrule.blogspot.com/2010_06_01_archive.html
Sunday, June 20, 2010. Methods for Accelerating Conway's Doomsday Algorithm. Updated arXiv version of this document:. Http:/ arxiv.org/abs/1006.3913. Http:/ arxiv.org/abs/1010.0765. We propose a simplification of a key component in the Doomsday Algorithm for calculating the day-of-the-week of any given date. In particular, we propose to replace the calculation of the required term:. Floor(x/12) x mod 12 floor( x mod 12)/4). 2 y 3(y mod 2) z leap. X is an input two-digit year;. Y is the tens digit of x;.
doomsdayrule.blogspot.com
Accelerated Doomsday: August 2011
http://doomsdayrule.blogspot.com/2011_08_01_archive.html
Sunday, August 7, 2011. Tomohiko Sakamoto came up with a terse program for calculating the day of the week in 1993. His code was written in the C language. The non-portable code goes like this:. Int dayofweek(unsigned int y, unsigned int m, unsigned int d). Return (y y/4 - y/100 y/400 "-bed=pen mad."[m] d) % 7;. Here is the portable version:. Int dayofweek(int y, int m, int d). Return (y y/4 - y/100 y/400 t[m-1] d) % 7;. Subscribe to: Posts (Atom). And part 2 (pdf). View my complete profile.
doomsdayrule.blogspot.com
Accelerated Doomsday: Prepare to Meet Thy Doomsday
http://doomsdayrule.blogspot.com/2011/10/prepare-to-meet-thy-doomsday.html
Monday, October 24, 2011. Prepare to Meet Thy Doomsday. I wrote an article for Scientific American regarding the Doomsday algorithm. What Day is Doomsday. How to Mentally Calculate the Day of the Week for Any Date". Special thanks to John Matson for the editorial work. Chinese translation: http:/ www.ccglim.com/11434.html. Subscribe to: Post Comments (Atom). Methods for Accelerating Conway's Doomsday Algorithm (part 1). And part 2 (pdf). Scientific American: What Day is Doomsday? View my complete profile.
doomsdayrule.blogspot.com
Accelerated Doomsday: October 2011
http://doomsdayrule.blogspot.com/2011_10_01_archive.html
Monday, October 24, 2011. Prepare to Meet Thy Doomsday. I wrote an article for Scientific American regarding the Doomsday algorithm. What Day is Doomsday. How to Mentally Calculate the Day of the Week for Any Date". Special thanks to John Matson for the editorial work. Chinese translation: http:/ www.ccglim.com/11434.html. Subscribe to: Posts (Atom). Methods for Accelerating Conway's Doomsday Algorithm (part 1). And part 2 (pdf). Scientific American: What Day is Doomsday? Prepare to Meet Thy Doomsday.
doomsdayrule.blogspot.com
Accelerated Doomsday: Methods for Accelerating Conway's Doomsday Algorithm
http://doomsdayrule.blogspot.com/2010/06/method-for-accelerating-conways.html
Sunday, June 20, 2010. Methods for Accelerating Conway's Doomsday Algorithm. Updated arXiv version of this document:. Http:/ arxiv.org/abs/1006.3913. Http:/ arxiv.org/abs/1010.0765. We propose a simplification of a key component in the Doomsday Algorithm for calculating the day-of-the-week of any given date. In particular, we propose to replace the calculation of the required term:. Floor(x/12) x mod 12 floor( x mod 12)/4). 2 y 3(y mod 2) z leap. X is an input two-digit year;. Y is the tens digit of x;.
doomsdayrule.blogspot.com
Accelerated Doomsday: Doomsday Timeline
http://doomsdayrule.blogspot.com/2011/01/doomsday-timeline.html
Saturday, January 22, 2011. The Doomsday Algorithm was first introduced in 1973. Over the years, it has undergone many refinements and improvements. The ultimate goal is to make the algorithm easy to calculate mentally in addition to being easy to remember. Here is a timeline of important modifications to the Doomsday algorithm. Please email spectralfft at yahoo.com for corrections/suggestions to this timeline. 1973: John Horton Conway published the original Doomsday algorithm in the journal Eureka. ...
doomsdayrule.blogspot.com
Accelerated Doomsday: December 2011
http://doomsdayrule.blogspot.com/2011_12_01_archive.html
Friday, December 2, 2011. Unix cal program for September 1752. Calendar for September 1752. Su Mo Tu We Th Fr Sa. 1 2 14 15 16. 17 18 19 20 21 22 23. 24 25 26 27 28 29 30. Subscribe to: Posts (Atom). Methods for Accelerating Conway's Doomsday Algorithm (part 1). And part 2 (pdf). Scientific American: What Day is Doomsday? An Easier Doomsday Algorithm (by Mike Walters). First Sunday Doomsday Algorithm (by Bob Goddard). Unix cal program for September 1752. View my complete profile.