Date: Tue, 28 Jan 1997 20:30:34 -0500 Message-Id: <199701290130.UAA02417@delorie.com> From: DJ Delorie To: pweeks AT execulink DOT com CC: djgpp AT delorie DOT com In-reply-to: <5clmjm$ee3@nr1.toronto.istar.net> (message from Jeff Weeks on 28 Jan 1997 20:12:38 GMT) Subject: Re: fixed point math: NEED HELP QUICK! > function. Anyway, here's my problem; To my understanding the following > are 100% equal: > > other_stuff = stuff / 256; > other_stuff = stuff << 8; The second multiplies. Try ">> 8" instead.