d35c8bb593
* testsuite/18_support/numeric_limits/denorm_min.cc: Use dg-add-options ieee. * testsuite/18_support/numeric_limits/digits10.cc: Likewise. * testsuite/18_support/numeric_limits/epsilon.cc: Likewise. * testsuite/18_support/numeric_limits/infinity.cc: Likewise. * testsuite/18_support/numeric_limits/is_iec559.cc: Likewise. * testsuite/18_support/numeric_limits/is_signed.cc: Likewise. * testsuite/18_support/numeric_limits/min_max.cc: Likewise. * testsuite/18_support/numeric_limits/quiet_NaN.cc: Likewise. * testsuite/18_support/numeric_limits/ specialization_default_values.cc: Likewise. * testsuite/18_support/numeric_limits/traps.cc: Likewise. * testsuite/26_numerics/complex/pow.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 01_assoc_laguerre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 02_assoc_legendre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 03_beta/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 04_comp_ellint_1/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 05_comp_ellint_2/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 06_comp_ellint_3/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 07_conf_hyperg/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 08_cyl_bessel_i/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 09_cyl_bessel_j/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 10_cyl_bessel_k/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 11_cyl_neumann/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 12_ellint_1/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 13_ellint_2/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 14_ellint_3/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 15_expint/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 16_hermite/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 17_hyperg/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 18_laguerre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 19_legendre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 20_riemann_zeta/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 21_sph_bessel/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 22_sph_legendre/check_nan.cc: Likewise. * testsuite/tr1/5_numerical_facilities/special_functions/ 23_sph_neumann/check_nan.cc: Likewise. Co-Authored-By: Kaz Kojima <kkojima@gcc.gnu.org> From-SVN: r151251
17 lines
273 B
C++
17 lines
273 B
C++
// { dg-do run { xfail broken_cplxf_arg } }
|
|
// PR libstdc++/10689
|
|
// Origin: Daniel.Levine@jhuaph.edu
|
|
// { dg-add-options ieee }
|
|
|
|
#include <complex>
|
|
#include <testsuite_hooks.h>
|
|
|
|
int main()
|
|
{
|
|
std::complex<double> z;
|
|
|
|
VERIFY( pow(z, 1.0/3.0) == 0.0 );
|
|
|
|
return 0;
|
|
}
|