delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/11/17/07:25:23

Message-ID: <19981117131553.B17146@duna58>
Date: Tue, 17 Nov 1998 13:15:53 +0100
From: Laszlo Molnar <laszlo DOT molnar AT eth DOT ericsson DOT se>
To: DJGPP Workers List <djgpp-workers AT delorie DOT com>
Subject: gcc: feature or bug?
Mime-Version: 1.0
X-Mailer: Mutt 0.93.2
Reply-To: djgpp-workers AT delorie DOT com

Hi Workers!

Just a small question:

Let's say I have a 32-bit unsigned integer, and I want to clear it's
most significant bit. I wrote this code:

	(x*2)/2

And of course(?) it doesn't work. Is it a bug in gcc or a bug in me?

Laszlo

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019