non-negative rho argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224739
138bc75d-0d04-0410-961f-
82ee72b054a4
2015-06-22 Jonathan Wakely <jwakely@redhat.com>
+ * testsuite/26_numerics/complex/value_operations/1.cc: Use
+ non-negative rho argument.
+
* include/debug/list (__gnu_debug::list): Use allocator-aware
_Safe_container base.
* include/debug/string (__gnu_debug::basic_string): Use
complex_type e __attribute__((unused)) = conj(c);
- complex_type f = polar(c.imag(), 0.0);
+ complex_type f = polar(std::abs(c.imag()), 0.0);
VERIFY( f.real() != 0 );
}