[Bug libstdc++/61761] [C++11] std::proj returns incorrect values
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 3 19:25:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61761
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Fri May 3 19:25:05 2019
New Revision: 270859
URL: https://gcc.gnu.org/viewcvs?rev=270859&root=gcc&view=rev
Log:
Fix new testcase to not require std::copysign
Use __builtin_copysign{,f,l} when std::copysign isn't available.
PR libstdc++/61761
* testsuite/26_numerics/complex/proj.cc: Don't assume <cmath> defines
std::copysign.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/testsuite/26_numerics/complex/proj.cc
More information about the Gcc-bugs
mailing list