Bert Wesarg, le Sat 27 Mar 2010 15:06:43 +0100, a écrit :
> > +  if (needed_count <= ulongs_count)
> > +    return;
> > +
> > +  while (ulongs_count < needed_count)
> > +    ulongs_count *= 2;

Mmm, this is actually 1 << (hwloc_fls(needed_count)), isn't it?

SAmuel

Reply via email to