1.cc: Use non-negative rho argument.
* testsuite/26_numerics/complex/value_operations/1.cc: Use non-negative rho argument. From-SVN: r224739
This commit is contained in:
parent
e51d877098
commit
e39c4966c7
@ -1,5 +1,8 @@
|
||||
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
|
||||
|
@ -53,7 +53,7 @@ void test01()
|
||||
|
||||
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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user