On Sunday 08 February 2004 09:25, bert hubert wrote: > I'm a bit scared of 0xffffffff<<bits - sure that works? What scares me more is this line: for( i = 3; i >= 4-bits/32; i-- ) The result of 4-bits/32 is a float and it's compared to an integer. I don't know if this is good on all platforms. Norbert