On Sat, Jun 24, 2006 at 09:09:12AM +0200, Pieter Hollants wrote: > - v += 1<<(7 - FRAC_BITS); > + v += 1<<(7 - FRAC_BITS) % (CHAR_BIT * sizeof(v)); Use of CHAR_BIT anywhere is utter nonsense. If you mean 8 write 8.. Anyway Michael said this is wrong IIRC. Rich