[Mono-bugs] [Bug 692493] New: incorrect result of float expression (intermediate result optimized away?)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 9 03:21:35 EDT 2011


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

https://bugzilla.novell.com/show_bug.cgi?id=692493#c0


           Summary: incorrect result of float expression (intermediate
                    result optimized away?)
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: anto.cuni at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=428542)
 --> (http://bugzilla.novell.com/attachment.cgi?id=428542)
IL code of the failing program

Description of Problem:
The attached program prints "1E-200" instead of "Infinity".
After commenting in the two commented lines, it correctly prints
"Infinity\nInfinity".


Steps to reproduce the problem:
1. ilasm2 bug.il && mono bug.il


Actual Results:
1E-200

Expected Results:
Infinity

How often does this happen? 
Always

Additional Information:
$ mono --version
Mono JIT compiler version 2.6.7 (Debian 2.6.7-3ubuntu1)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
    TLS:           __thread
    GC:            Included Boehm (with typed GC and Parallel Mark)
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  x86
    Disabled:      none

-- 
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