[LLVMbugs] [Bug 21336] std::polar not working

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 22 06:01:08 PDT 2014


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

Anton Korobeynikov <asl at math.spbu.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |asl at math.spbu.ru
         Resolution|---                         |INVALID

--- Comment #4 from Anton Korobeynikov <asl at math.spbu.ru> ---
C++11 26.4.7.9:
Returns: The complex value corresponding to a complex number whose magnitude is
rho and whose phase angle is theta.

Obviously there is no complex number with negative magnitude. Returning NaN
looks a conforming behavior.

-- 
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/20141022/08b0ce71/attachment.html>


More information about the llvm-bugs mailing list