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

Marshall Clow (home) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Marshall Clow (home) <[email protected]> ---
Thanks for the report.

I believe that this is a duplicate of
http://llvm.org/bugs/show_bug.cgi?id=17782.

What's happening here is that libc++ is attempting to parse this as a hex
float.
[ You have to dig into the C standard to find out about that.. ]

If you change the string to "zyx", both libc++ and libstdc++ print 0.

I've added your example to that bug.

*** This bug has been marked as a duplicate of bug 17782 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to