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


           Summary: numeric miscalculation on uint or uint* and '&'
                    operator
    Classification: Mono
           Product: Mono: Runtime
           Version: unspecified
          Platform: i586
        OS/Version: Windows Vista
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


Created an attachment (id=291217)
 --> (http://bugzilla.novell.com/attachment.cgi?id=291217)
repro

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.10)
Gecko/2009042316 Firefox/3.0.10 GTB5 (.NET CLR 3.5.30729)

We do not seem to calculate & operator on uint or uint* correctly, as the
sample repro code shows. I'm not sure where the problem lies (The repro code is
from kazuki).

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Actual Results:  
flag = 2
x = ffffffff, k = 00000001
result: 00000004

Expected Results:  
flag = 2
x = ffffffff, k = 00000001
result: 00000001

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

Reply via email to