http://bugzilla.novell.com/show_bug.cgi?id=550970


           Summary: Modulo operation gives incorrect results on x86-32
    Classification: Mono
           Product: Mono: Runtime
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: JIT
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


using System;

public class Test
{
    public static void Main ()
    {
        object i = -2;
        Console.WriteLine ((int)i % 1);

        int i2 = -2;
        Console.WriteLine ((int)i2 % 1);
    }
}

Actual:

1
0

Expected:

0
0

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to