delorie.com/archives/browse.cgi | search |
Date: | Tue, 28 Jan 1997 20:30:34 -0500 |
Message-Id: | <199701290130.UAA02417@delorie.com> |
From: | DJ Delorie <dj AT delorie DOT com> |
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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |