[LLVMbugs] [Bug 16643] New: Hex floating-point constants converted to wrong value

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 17 06:40:38 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16643

            Bug ID: 16643
           Summary: Hex floating-point constants converted to wrong value
           Product: clang
           Version: 3.3
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: tydeman at tybor.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The C99 hex floating-point constant
 +0x80000000000000000000000000000000000000000000000001.p-349L
should convert to the value
 3f698000000000000000=+7.006492321624085354618647916449580656e-46
but is converted to the value
 7fff8000000000000000=+inf

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130717/82d64ea3/attachment.html>


More information about the llvm-bugs mailing list