Gij regression?

Alexandre Petit-Bianco apbianco@cygnus.com
Sat Jul 21 19:09:00 GMT 2001


Out of a fresh build and on the test case below, gij outputs:
4611924758479503360 4611924758479503360 4611924758479503360 4611924758479503360 234
whereas the correct output is:
81985529216486895 -81985529216486896 -1110518062304271993 -8608480567731124088 234
(as delivered by compiling to native, to bytecode then native and to
bytecode then executed with Sun's java.)
Can anyone reproduce this?
./A
class test_long {
 
 public static void main (String[] arg)
 {
 long a, b, c, d, e;
 e = 234L;
 d = 0x8888888888888888L;
 a = 0x0123456789ABCDEFL;
 b = 0xFEDCBA9876543210L;
 c = 0xF096A5B4C3B2E187L;
 System.out.println (a+" "+b+" "+c+" "+d+" "+e);
 }
}


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /