>From [EMAIL PROTECTED]  Wed Jun  9 20:59:35 2004
> > Why is it soo hard to understand that you cannot divide by 64 while
> > the smallest directory entry is 34 bytes and most real life entries
> > are still smaller than 64 bytes?

>I'm fairly certain I'm dividing by 32.  The second patch has the
>following:

>     block << 6

>which is the same as

>     block << (11 - 5)

>which (assuming arbitrary precision) is the same as

>     (block << 11) >> 5

>which is the byte offset divided by 32.  So, the math was correct
>from the start, right?

The version I did see, did right shift by 6.

This is a division by 64

J�rg

-- 
 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  If you don't have iso-8859-1
       [EMAIL PROTECTED]        (work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling ftp://ftp.berlios.de/pub/schily


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to