Re: libstdc++/10689: pow(std::complex(0),1/3) returns (nan, nan) instead of 0.

Gabriel Dos Reis <[email protected]>
Newsgroups gmane.comp.gcc.prs
Message-ID <[email protected]>
The following reply was made to PR libstdc++/10689; it has been noted by GNATS.

From: Gabriel Dos Reis <[email protected]>
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: libstdc++/10689: pow(std::complex(0),1/3) returns (nan, nan) instead of 0.
Date: 18 May 2003 14:57:42 +0200

 [email protected] writes:
 
 | Synopsis: pow(std::complex(0),1/3) returns (nan, nan) instead of 0.
 | 
 | Responsible-Changed-From-To: unassigned->gdr
 | Responsible-Changed-By: bkoz
 | Responsible-Changed-When: Fri May 16 20:04:27 2003
 | Responsible-Changed-Why:
 |     Maybe you could triage this? It's either runtime or __builtin I think.
 
 It is not __builtin.  It is runtime.
 A proper way to fix this is to to use __builtin where appropriate and
 runtime where not.  The traditional approach is through  traits.  Will
 handle that, after I applied the name lookup patch.  This week is too
 heavy...
 
 -- Gaby
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.