🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5834

Re: Full Access to 2 GB memory RAM ?

#5834
From: Bob Gonder
Date: Sun, 26 Jun 2005 19:16
16 lines
1475 bytes
Thomas Maeder [TeamB] wrote:

>maeder@glue.ch (Thomas Maeder [TeamB]) writes:
>
>> The operator ^ means 'exclusive or' in C and C++. Since the sets of
>> bits set in the representations of 2 and 31 are disjoint, the
>> expression 2^31 will thus evaluate to 33.
>
><cough>
>
>The sets are not disjoint. The result will thus be 31.

As long as you're correcting yourself, night as well do it right....

31 = 0x1f
 0x1f ^ 0x02 == 0x1d or 29
Technical Details
Message-ID: <mivtb1pf4a5eeo3934g3vn9udsainndc5q@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42be94fa$1@newsgroups.borland.com> <m264w1goa3.fsf@madbox2.local> <m21x6pgmoc.fsf@madbox2.local>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,256f8494310fe6f6
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Full Access to 2 GB memory RAM ?
Date: Sun, 26 Jun 2005 12:16:04 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <mivtb1pf4a5eeo3934g3vn9udsainndc5q@4ax.com>
References: <42be94fa$1@newsgroups.borland.com> <m264w1goa3.fsf@madbox2.local> <m21x6pgmoc.fsf@madbox2.local>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.255.84
X-Trace: newsgroups.borland.com 1119813363 67.77.255.84 (26 Jun 2005 12:16:03 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail