On Fri, Nov 07, 2008 at 11:04:51AM -0800, Harvey Harrison wrote: > > +#define ROUND_DIV(x, divisor) (((x) + ((divisor) / 2)) / (divisor)) > > DIV_ROUND_UP ? Actually, on closer inspection, DIV_ROUND_UP always rounds up, so I'll implement a ROUND_CLOSEST. --D