[Mono-bugs] [Bug 502593] New: numeric miscalculation on uint or uint* and '&' operator

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun May 10 22:23:07 EDT 2009


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


More information about the mono-bugs mailing list