[Mono-bugs] [Bug 56223][Blo] New - long.MinValue returns a positive integer on Solaris 8
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 30 Mar 2004 08:47:40 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by gkodinov@openlinksw.co.uk.
http://bugzilla.ximian.com/show_bug.cgi?id=56223
--- shadow/56223 2004-03-30 08:47:40.000000000 -0500
+++ shadow/56223.tmp.3366 2004-03-30 08:47:40.000000000 -0500
@@ -0,0 +1,37 @@
+Bug#: 56223
+Product: Mono: Runtime
+Version: unspecified
+OS: Solaris 8
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Blocker
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gkodinov@openlinksw.co.uk
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: long.MinValue returns a positive integer on Solaris 8
+
+Sample program :
+using System;
+
+class gogo {
+ public static void Main (String [] args)
+ {
+ Console.WriteLine ("MinValue=" + long.MinValue);
+ Console.WriteLine ("MaxValue=" + long.MaxValue);
+ }
+}
+
+
+Linux output :
+MinValue=-9223372036854775808
+MaxValue=9223372036854775807
+
+Solaris 8 output :
+MinValue=9223372032559808512
+MaxValue=9223372036854775807