HelenOS sources

floor_div         217 uspace/lib/c/generic/time.c 	time_t div = floor_div(op1, op2);
floor_div         247 uspace/lib/c/generic/time.c 	return (year - 70) * 365 + floor_div(year - 69, 4) -
floor_div         248 uspace/lib/c/generic/time.c 	    floor_div(year - 1, 100) + floor_div(year + 299, 400) +
floor_div         307 uspace/lib/c/generic/time.c 	sec += floor_div(nsec, NSECS_PER_SEC);
floor_div         309 uspace/lib/c/generic/time.c 	min += floor_div(sec, SECS_PER_MIN);
floor_div         311 uspace/lib/c/generic/time.c 	hour += floor_div(min, MINS_PER_HOUR);
floor_div         313 uspace/lib/c/generic/time.c 	day += floor_div(hour, HOURS_PER_DAY);
floor_div         317 uspace/lib/c/generic/time.c 	year += floor_div(mon, 12);
floor_div         323 uspace/lib/c/generic/time.c 	year += floor_div(day, 146097) * 400;
HelenOS homepage, sources at GitHub