Home | History | Annotate | Download | only in time

Lines Matching refs:YEARSPERREPEAT

3871 	/* dayoff = floor((wantedy - y) / YEARSPERREPEAT) * DAYSPERREPEAT,
3873 yrem = wantedy % YEARSPERREPEAT - y % YEARSPERREPEAT;
3874 dayoff = ((wantedy / YEARSPERREPEAT - y / YEARSPERREPEAT
3875 + yrem / YEARSPERREPEAT - (yrem % YEARSPERREPEAT < 0))
3877 /* wantedy = y + ((wantedy - y) mod YEARSPERREPEAT), sans overflow. */
3878 wantedy = y + (yrem + 2 * YEARSPERREPEAT) % YEARSPERREPEAT;