This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: new tests


I'm checking in this new test.

2000-03-27  Tom Tromey  <tromey@cygnus.com>

	* libjava.lang/test_long.out: New file.
	* libjava.lang/test_long.java: New file.

Tom

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);
  }
}

81985529216486895 -81985529216486896 -1110518062304271993 -8608480567731124088 234

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]