[Mono-bugs] [Bug 75708][Maj] Changed - Numerical shifting of large integers doesn't work

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 19 09:36:19 EDT 2005

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 mike at wege.net.


--- shadow/75708	2005-08-19 08:54:27.000000000 -0400
+++ shadow/75708.tmp.10741	2005-08-19 09:36:19.000000000 -0400
@@ -154,6 +154,25 @@
 ------- Additional Comments From kornelpal at hotmail.com  2005-08-19 08:54 -------
 The results are the same on Mono and .NET Framework, in addition - 
 as written in the previous comment - they comply with the standard 
 so there is no use to change the current behaviour.
+------- Additional Comments From mike at wege.net  2005-08-19 09:36 -------
+You're of course totally right, as the specification states - which I
+didn't bother looking at, as I was naively expecting C-like behaviour
+I came across this while debugging cross-platform problems between
+.NET (2.0 Beta 2, also Compact Framework) and Mono (1.1.8.x):
+The claim that it's the same on both platforms is not correct: when
+shifted by more than the maximum amounts defined in the original
+posting, the results are actually the ones wrongly expected - this is
+how I stumbled over this in the first place
+Looks like Microsoft is not implementing the official standard - how
+typical. Looks like I need to report that fact to Microsoft :-(
+Sorry about my implicit assumption that the Microsoft implementation
+is correct instead of yours - maybe I should go check what SSCLI does...

More information about the mono-bugs mailing list