Fix new testcase to not require std::copysign
authorJonathan Wakely <jwakely@redhat.com>
Fri, 3 May 2019 19:25:05 +0000 (20:25 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 3 May 2019 19:25:05 +0000 (20:25 +0100)
commite339291fc13d074bade3fd9ab3cbfacce5a21cbd
tree2c50a2cca767aa1e4aa1d00ebdeff95742a12e7b
parent56e5b093de436686effacab1f3211f8695be39a6
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.

From-SVN: r270859
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/26_numerics/complex/proj.cc