User Tools

Site Tools


notes:cprog:fall2024:projects:mmf0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
notes:cprog:fall2024:projects:mmf0 [2024/09/29 03:49] – [Input value as short int (all four digits)] mwinter4notes:cprog:fall2024:projects:mmf0 [2024/09/29 03:52] (current) – [If it is a leap year subtract 1 more] mwinter4
Line 23: Line 23:
     * Modulo and remainder are primarily the same but they handle negative numbers differently     * Modulo and remainder are primarily the same but they handle negative numbers differently
 ====If it is a leap year subtract 1 more ==== ====If it is a leap year subtract 1 more ====
 +However, if we are using Zeller's congruence this is an unnecessary step as this is handled implicitly by Christian Zeller's algorithm. This is why we January is considered a part of the previous year and is labeled as the thirteenth month rather than the first month.
 ====Look up day in table==== ====Look up day in table====
  
notes/cprog/fall2024/projects/mmf0.1727581766.txt.gz · Last modified: 2024/09/29 03:49 by mwinter4