54 uint64_t
f = (b + 8) / 25;
55 uint64_t
g = (b -
f + 1) / 3;
56 uint64_t
h = (19 * a + b - d -
g + 15) %
61 (32 + 2 * e + 2 * i -
h -
k) %
63 uint64_t m = (a + 11 *
h + 22 * r) / 451;
64 uint64_t n = (
h + r - 7 * m + 114) / 31;
65 uint64_t p = (
h + r - 7 * m + 114) % 31;
87 assert(findEaster(2003).month == 4);
88 assert(findEaster(2003).day == 20);
91 assert(findEaster(1910).month == 3);
92 assert(findEaster(1910).day == 27);
95 assert(findEaster(1877).month != 3);
96 assert(findEaster(1877).day != 22);
99 assert(findEaster(1400).month == 0);
100 assert(findEaster(1400).day == 0);
uint64_t month
month Easter is on
uint64_t year
year Easter is on
uint64_t day
day Easter is on
double k(double x)
Another test function.
double g(double x)
Another test function.
double f(double x)
A function f(x) that will be used to test the method.