From: Uncle George <gatgul@voicenet.com>
To: axp-list@redhat.com
Subject: Re: So Y is my pointer so bogus
Date: Wed, 03 Feb 1999 18:45:48 -0500 [thread overview]
Message-ID: <36B8DFAC.59B2FB48@voicenet.com> (raw)
In-Reply-To: Pine.LNX.4.05.9902031522050.15025-100000@earth.terran.org
yup, in essence yes. It seems that the "unsigned int" screws up the arith. As i
remem changing the ints ( without the unsigned) to long didn't help either!.
Its just an interesting result, which leaves me wondering about all the rest of
the java 1.2 code that may have these little 64bit gotcha's
B. James Phillippe wrote:
> I *think* I know what you're having problems with; I tried your sample code
> and some other math and when I do a %p on just plain (int*) 0 - 1760; I got
> a value of 0xffffffffffffe480 (which is expected), but your sample code
> instead gave 0x7ffffe480. Seems the 64bit range didn't get assigned in the
> version of your code. Is this what you were asking about?
>
> -
next prev parent reply other threads:[~1999-02-03 23:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-03 22:36 So Y is my pointer so bogus Uncle George
1999-02-03 22:59 ` Jason Duerstock
1999-02-03 23:32 ` B. James Phillippe
1999-02-03 23:45 ` Uncle George [this message]
1999-02-04 0:51 ` Michal Jaegermann
1999-02-04 0:55 ` Michal Jaegermann
1999-02-03 23:36 ` Uncle George
1999-02-03 23:40 ` Re[2]: " Dan
1999-02-04 0:38 ` Michal Jaegermann
1999-02-04 11:25 ` Phil Carmody
-- strict thread matches above, loose matches on Subject: below --
1999-02-03 22:57 Lagodzinski, Andrew
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox