X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "aveo" Newsgroups: comp.os.msdos.djgpp Subject: Re: to check given no. is power of 2 Date: 25 May 2005 23:16:47 -0700 Organization: http://groups.google.com Lines: 11 Message-ID: <1117088207.407270.272750@g49g2000cwa.googlegroups.com> References: <1116997063 DOT 905915 DOT 71670 AT z14g2000cwz DOT googlegroups DOT com> NNTP-Posting-Host: 61.11.16.131 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1117088212 3395 127.0.0.1 (26 May 2005 06:16:52 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Thu, 26 May 2005 06:16:52 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 Complaints-To: groups-abuse AT google DOT com Injection-Info: g49g2000cwa.googlegroups.com; posting-host=61.11.16.131; posting-account=JJCVog0AAADHxD7cpVHFH_Oih7K2jhME To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk i think this approch may work but at least once u need to check the condition i want to check given no. is power of 2 or not without checking any condition. no if no while no condi?stat1:stat2 in the entire code