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

Antony Polukhin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #6 from Antony Polukhin <[email protected]> ---
(In reply to comment #5)
> Yes, tests 4-7 fail.  In each case a value of inf is successfully read into
> ld.

Other STL implementations in that case report failure via returning true in
ss.fail().

And it is required by C++11 (22.4.2.1.2, step 3):
The numeric value to be stored can be one of:
...
— the most positive representable value, if the field represents a value too
large positive to be
represented in val. ios_base::failbit is assigned to err.
...

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