[Mono-bugs] [Bug 550970] New: Modulo operation gives incorrect results on x86-32

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 29 07:54:23 EDT 2009


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: lupus at novell.com
        ReportedBy: msafar at novell.com
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list