* Peter Stuge <[EMAIL PROTECTED]> [070713 12:16]:
> On Fri, Jul 13, 2007 at 01:44:52AM -0400, Joseph Smith wrote:
> > /* convert to Kilobytes */
> > dra = ((page_size / 8) >> 10);
>
> Please don't use bit shifting for multiplication and division.
I think this is a bad dogma. Using shifts for mul/div is pretty obvious
to understand and almost courteous.
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: [EMAIL PROTECTED] • http://www.coresystems.de/
--
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios