delorie.com/archives/browse.cgi | search |
Subject: | RE: gcc: feature or bug? |
Date: | Tue, 17 Nov 1998 13:22:50 -0800 |
Message-Id: | <27669857.5.1912@mx1-11.onmedia.com> |
From: | "Tom St Denis" <tomstdenis AT goplay DOT com> |
To: | Laszlo Molnar <laszlo DOT molnar AT eth DOT ericsson DOT se>, |
DJGPP Workers List <djgpp-workers AT delorie DOT com> | |
MIME-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Well x*2/2 will optimize out to be X, and it's also mathmatically correct. If you want to manipulate bits, use logical operators like &, ^, |, << or >>. That's what they are for. tom....
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |