Commit e39c4966 by Jonathan Wakely Committed by Jonathan Wakely

1.cc: Use non-negative rho argument.

	* testsuite/26_numerics/complex/value_operations/1.cc: Use
	non-negative rho argument.

From-SVN: r224739
parent e51d8770
2015-06-22 Jonathan Wakely <jwakely@redhat.com> 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 * include/debug/list (__gnu_debug::list): Use allocator-aware
_Safe_container base. _Safe_container base.
* include/debug/string (__gnu_debug::basic_string): Use * include/debug/string (__gnu_debug::basic_string): Use
......
...@@ -53,7 +53,7 @@ void test01() ...@@ -53,7 +53,7 @@ void test01()
complex_type e __attribute__((unused)) = conj(c); 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 ); VERIFY( f.real() != 0 );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment