In message <pine.bsf.4.10.9908211250310.7595-100...@heidi.plazza.it> Nick Hibma writes: : Does anyone know an inexpensive algorithm (O(1)) to go from an number to : the next (lower or higher) power of two.
1 << ffs(x) Warner To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message