epact 447 lib/pengine/rules.c uint32_t epact, diy, goldn; epact 453 lib/pengine/rules.c epact = (11 * goldn + 18) % 30; epact 454 lib/pengine/rules.c if ((epact == 25 && goldn > 11) || epact == 24) epact 455 lib/pengine/rules.c epact++; epact 457 lib/pengine/rules.c return ((((((diy + epact) * 6) + 11) % 177) / 22) & 7);