[Mono-bugs] [Bug 484323] New: Mono handles remainder by 1 incorrectly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 11 10:20:08 EDT 2009


https://bugzilla.novell.com/show_bug.cgi?id=484323


           Summary: Mono handles remainder by 1 incorrectly
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: x86-64
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: amcgovern at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Expected output: 0, 0.... 0
Actual output:  0, -1, -2... -7

Only occurs on x86-64 on mono head. Works fine on 1.9/2.0/2.0.1. Not tested
2.2.


using System;

namespace TestCase3
{
    class MainClass
    {
        public static void Main(string[] args)
        {
            for (int i=0; i < 8; i++)
                Console.WriteLine (i % 1);
    }
    }
}

-- 
Configure bugmail: https://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