This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Remove ENOSYS tests in libm-test.inc


Some, but not all, test functions in libm-test.inc run the function
being tested with a particular argument and then skip further testing
if it sets errno to ENOSYS.

This may have made sense before all the libm functions were
implemented for all floating-point formats, but now I think it's more
likely this boilerplate code will cause tests to be wrongly skipped,
because the ENOSYS error comes e.g. from a call to an <fenv.h>
function within the function actually being tested (but it would still
be possible to run the tests of the function being tested with only
minor errors showing up from this), than to show up any hypothetical
future case of a libm function only implemented on some systems.  (I
don't think it's likely we'll get more floating-point formats in
future, even if there does exist a VAX GNU/Linux port of an old
version of glibc.)

So this patch removes all those tests for ENOSYS.  Tested x86_64 and
x86.

2013-05-16  Joseph Myers  <joseph@codesourcery.com>

	* math/libm-test.inc (acos_test): Don't test for ENOSYS error.
	(acos_test_tonearest): Likewise.
	(acos_test_towardzero): Likewise.
	(acos_test_downward): Likewise.
	(acos_test_upward): Likewise.
	(acosh_test): Likewise.
	(asin_test): Likewise.
	(asin_test_tonearest): Likewise.
	(asin_test_towardzero): Likewise.
	(asin_test_downward): Likewise.
	(asin_test_upward): Likewise.
	(asinh_test): Likewise.
	(atan_test): Likewise.
	(atanh_test): Likewise.
	(atan2_test): Likewise.
	(cabs_test): Likewise.
	(cacos_test): Likewise.
	(cacosh_test): Likewise.
	(casin_test): Likewise.
	(casinh_test): Likewise.
	(catan_test): Likewise.
	(catanh_test): Likewise.
	(cbrt_test): Likewise.
	(ccos_test): Likewise.
	(ccosh_test): Likewise.
	(cexp_test): Likewise.
	(clog_test): Likewise.
	(clog10_test): Likewise.
	(cos_test): Likewise.
	(cos_test_tonearest): Likewise.
	(cos_test_towardzero): Likewise.
	(cos_test_downward): Likewise.
	(cos_test_upward): Likewise.
	(cosh_test): Likewise.
	(cosh_test_tonearest): Likewise.
	(cosh_test_towardzero): Likewise.
	(cosh_test_downward): Likewise.
	(cosh_test_upward): Likewise.
	(cpow_test): Likewise.
	(csin_test): Likewise.
	(csinh_test): Likewise.
	(csqrt_test): Likewise.
	(ctan_test): Likewise.
	(ctan_test_tonearest): Likewise.
	(ctan_test_towardzero): Likewise.
	(ctan_test_downward): Likewise.
	(ctan_test_upward): Likewise.
	(ctanh_test): Likewise.
	(ctanh_test_tonearest): Likewise.
	(ctanh_test_towardzero): Likewise.
	(ctanh_test_downward): Likewise.
	(ctanh_test_upward): Likewise.
	(erf_test): Likewise.
	(erfc_test): Likewise.
	(exp_test): Likewise.
	(exp_test_tonearest): Likewise.
	(exp_test_towardzero): Likewise.
	(exp_test_downward): Likewise.
	(exp_test_upward): Likewise.
	(exp10_test): Likewise.
	(exp2_test): Likewise.
	(expm1_test): Likewise.
	(fmod_test): Likewise.
	(gamma_test): Likewise.
	(hypot_test): Likewise.
	(j0_test): Likewise.
	(j1_test): Likewise.
	(jn_test): Likewise.
	(lgamma_test): Likewise.
	(log_test): Likewise.
	(log10_test): Likewise.
	(log1p_test): Likewise.
	(log2_test): Likewise.
	(logb_test_downward): Likewise.
	(pow_test): Likewise.
	(pow_test_tonearest): Likewise.
	(pow_test_towardzero): Likewise.
	(pow_test_downward): Likewise.
	(pow_test_upward): Likewise.
	(remainder_test): Likewise.
	(remquo_test): Likewise.
	(sin_test): Likewise.
	(sin_test_tonearest): Likewise.
	(sin_test_towardzero): Likewise.
	(sin_test_downward): Likewise.
	(sin_test_upward): Likewise.
	(sincos_test): Likewise.
	(sinh_test): Likewise.
	(sinh_test_tonearest): Likewise.
	(sinh_test_towardzero): Likewise.
	(sinh_test_downward): Likewise.
	(sinh_test_upward): Likewise.
	(sqrt_test): Likewise.
	(tan_test): Likewise.
	(tan_test_tonearest): Likewise.
	(tan_test_towardzero): Likewise.
	(tan_test_downward): Likewise.
	(tan_test_upward): Likewise.
	(tanh_test): Likewise.
	(tgamma_test): Likewise.
	(y0_test): Likewise.
	(y1_test): Likewise.
	(yn_test): Likewise.

diff --git a/math/libm-test.inc b/math/libm-test.inc
index b48f855..8194df4 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -1408,12 +1408,6 @@ static const struct test_f_f_data acos_test_data[] =
 static void
 acos_test (void)
 {
-  errno = 0;
-  FUNC(acos) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (acos);
   RUN_TEST_LOOP_f_f (acos, acos_test_data, );
   END (acos);
@@ -1435,12 +1429,6 @@ static const struct test_f_f_data acos_tonearest_test_data[] =
 static void
 acos_test_tonearest (void)
 {
-  errno = 0;
-  FUNC(acos) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (acos_tonearest);
   RUN_TEST_LOOP_f_f (acos, acos_tonearest_test_data, FE_TONEAREST);
   END (acos_tonearest);
@@ -1462,12 +1450,6 @@ static const struct test_f_f_data acos_towardzero_test_data[] =
 static void
 acos_test_towardzero (void)
 {
-  errno = 0;
-  FUNC(acos) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (acos_towardzero);
   RUN_TEST_LOOP_f_f (acos, acos_towardzero_test_data, FE_TOWARDZERO);
   END (acos_towardzero);
@@ -1489,12 +1471,6 @@ static const struct test_f_f_data acos_downward_test_data[] =
 static void
 acos_test_downward (void)
 {
-  errno = 0;
-  FUNC(acos) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (acos_downward);
   RUN_TEST_LOOP_f_f (acos, acos_downward_test_data, FE_DOWNWARD);
   END (acos_downward);
@@ -1516,12 +1492,6 @@ static const struct test_f_f_data acos_upward_test_data[] =
 static void
 acos_test_upward (void)
 {
-  errno = 0;
-  FUNC(acos) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (acos_upward);
   RUN_TEST_LOOP_f_f (acos, acos_upward_test_data, FE_UPWARD);
   END (acos_upward);
@@ -1546,12 +1516,6 @@ static const struct test_f_f_data acosh_test_data[] =
 static void
 acosh_test (void)
 {
-  errno = 0;
-  FUNC(acosh) (7);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (acosh);
   RUN_TEST_LOOP_f_f (acosh, acosh_test_data, );
   END (acosh);
@@ -1595,12 +1559,6 @@ static const struct test_f_f_data asin_test_data[] =
 static void
 asin_test (void)
 {
-  errno = 0;
-  FUNC(asin) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (asin);
   RUN_TEST_LOOP_f_f (asin, asin_test_data, );
   END (asin);
@@ -1622,12 +1580,6 @@ static const struct test_f_f_data asin_tonearest_test_data[] =
 static void
 asin_test_tonearest (void)
 {
-  errno = 0;
-  FUNC(asin) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (asin_tonearest);
   RUN_TEST_LOOP_f_f (asin, asin_tonearest_test_data, FE_TONEAREST);
   END (asin_tonearest);
@@ -1649,12 +1601,6 @@ static const struct test_f_f_data asin_towardzero_test_data[] =
 static void
 asin_test_towardzero (void)
 {
-  errno = 0;
-  FUNC(asin) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (asin_towardzero);
   RUN_TEST_LOOP_f_f (asin, asin_towardzero_test_data, FE_TOWARDZERO);
   END (asin_towardzero);
@@ -1676,12 +1622,6 @@ static const struct test_f_f_data asin_downward_test_data[] =
 static void
 asin_test_downward (void)
 {
-  errno = 0;
-  FUNC(asin) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (asin_downward);
   RUN_TEST_LOOP_f_f (asin, asin_downward_test_data, FE_DOWNWARD);
   END (asin_downward);
@@ -1703,12 +1643,6 @@ static const struct test_f_f_data asin_upward_test_data[] =
 static void
 asin_test_upward (void)
 {
-  errno = 0;
-  FUNC(asin) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (asin_upward);
   RUN_TEST_LOOP_f_f (asin, asin_upward_test_data, FE_UPWARD);
   END (asin_upward);
@@ -1731,12 +1665,6 @@ static const struct test_f_f_data asinh_test_data[] =
 static void
 asinh_test (void)
 {
-  errno = 0;
-  FUNC(asinh) (0.7L);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (asinh);
   RUN_TEST_LOOP_f_f (asinh, asinh_test_data, );
   END (asinh);
@@ -1772,12 +1700,6 @@ static const struct test_f_f_data atan_test_data[] =
 static void
 atan_test (void)
 {
-  errno = 0;
-  FUNC(atan) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (atan);
   RUN_TEST_LOOP_f_f (atan, atan_test_data, );
   END (atan);
@@ -1808,12 +1730,6 @@ static const struct test_f_f_data atanh_test_data[] =
 static void
 atanh_test (void)
 {
-  errno = 0;
-  FUNC(atanh) (0.7L);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (atanh);
   RUN_TEST_LOOP_f_f (atanh, atanh_test_data, );
   END (atanh);
@@ -1898,12 +1814,6 @@ static const struct test_ff_f_data atan2_test_data[] =
 static void
 atan2_test (void)
 {
-  errno = 0;
-  FUNC(atan2) (-0, 1);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (atan2);
   RUN_TEST_LOOP_ff_f (atan2, atan2_test_data, );
   END (atan2);
@@ -1949,12 +1859,6 @@ static const struct test_c_f_data cabs_test_data[] =
 static void
 cabs_test (void)
 {
-  errno = 0;
-  FUNC(cabs) (BUILD_COMPLEX (0.7L, 12.4L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (cabs);
   RUN_TEST_LOOP_c_f (cabs, cabs_test_data, );
   END (cabs);
@@ -2648,12 +2552,6 @@ static const struct test_c_c_data cacos_test_data[] =
 static void
 cacos_test (void)
 {
-  errno = 0;
-  FUNC(cacos) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (cacos);
   RUN_TEST_LOOP_c_c (cacos, cacos_test_data, );
   END (cacos, complex);
@@ -3340,12 +3238,6 @@ static const struct test_c_c_data cacosh_test_data[] =
 static void
 cacosh_test (void)
 {
-  errno = 0;
-  FUNC(cacosh) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (cacosh);
   RUN_TEST_LOOP_c_c (cacosh, cacosh_test_data, );
   END (cacosh, complex);
@@ -4115,12 +4007,6 @@ static const struct test_c_c_data casin_test_data[] =
 static void
 casin_test (void)
 {
-  errno = 0;
-  FUNC(casin) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (casin);
   RUN_TEST_LOOP_c_c (casin, casin_test_data, );
   END (casin, complex);
@@ -4818,12 +4704,6 @@ static const struct test_c_c_data casinh_test_data[] =
 static void
 casinh_test (void)
 {
-  errno = 0;
-  FUNC(casinh) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (casinh);
   RUN_TEST_LOOP_c_c (casinh, casinh_test_data, );
   END (casinh, complex);
@@ -5335,12 +5215,6 @@ static const struct test_c_c_data catan_test_data[] =
 static void
 catan_test (void)
 {
-  errno = 0;
-  FUNC(catan) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (catan);
   RUN_TEST_LOOP_c_c (catan, catan_test_data, );
   END (catan, complex);
@@ -5850,12 +5724,6 @@ static const struct test_c_c_data catanh_test_data[] =
 static void
 catanh_test (void)
 {
-  errno = 0;
-  FUNC(catanh) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (catanh);
   RUN_TEST_LOOP_c_c (catanh, catanh_test_data, );
   END (catanh, complex);
@@ -5882,12 +5750,6 @@ static const struct test_f_f_data cbrt_test_data[] =
 static void
 cbrt_test (void)
 {
-  errno = 0;
-  FUNC(cbrt) (8);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (cbrt);
   RUN_TEST_LOOP_f_f (cbrt, cbrt_test_data, );
   END (cbrt);
@@ -5989,12 +5851,6 @@ static const struct test_c_c_data ccos_test_data[] =
 static void
 ccos_test (void)
 {
-  errno = 0;
-  FUNC(ccos) (BUILD_COMPLEX (0, 0));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (ccos);
   RUN_TEST_LOOP_c_c (ccos, ccos_test_data, );
   END (ccos, complex);
@@ -6097,12 +5953,6 @@ static const struct test_c_c_data ccosh_test_data[] =
 static void
 ccosh_test (void)
 {
-  errno = 0;
-  FUNC(ccosh) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (ccosh);
   RUN_TEST_LOOP_c_c (ccosh, ccosh_test_data, );
   END (ccosh, complex);
@@ -6312,12 +6162,6 @@ static const struct test_c_c_data cexp_test_data[] =
 static void
 cexp_test (void)
 {
-  errno = 0;
-  FUNC(cexp) (BUILD_COMPLEX (0, 0));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (cexp);
   RUN_TEST_LOOP_c_c (cexp, cexp_test_data, );
   END (cexp, complex);
@@ -6559,12 +6403,6 @@ static const struct test_c_c_data clog_test_data[] =
 static void
 clog_test (void)
 {
-  errno = 0;
-  FUNC(clog) (BUILD_COMPLEX (-2, -3));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (clog);
   RUN_TEST_LOOP_c_c (clog, clog_test_data, );
   END (clog, complex);
@@ -6784,12 +6622,6 @@ static const struct test_c_c_data clog10_test_data[] =
 static void
 clog10_test (void)
 {
-  errno = 0;
-  FUNC(clog10) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (clog10);
   RUN_TEST_LOOP_c_c (clog10, clog10_test_data, );
   END (clog10, complex);
@@ -6922,12 +6754,6 @@ static const struct test_f_f_data cos_test_data[] =
 static void
 cos_test (void)
 {
-  errno = 0;
-  FUNC(cos) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (cos);
   RUN_TEST_LOOP_f_f (cos, cos_test_data, );
   END (cos);
@@ -6953,12 +6779,6 @@ static const struct test_f_f_data cos_tonearest_test_data[] =
 static void
 cos_test_tonearest (void)
 {
-  errno = 0;
-  FUNC(cos) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (cos_tonearest);
   RUN_TEST_LOOP_f_f (cos, cos_tonearest_test_data, FE_TONEAREST);
   END (cos_tonearest);
@@ -6984,12 +6804,6 @@ static const struct test_f_f_data cos_towardzero_test_data[] =
 static void
 cos_test_towardzero (void)
 {
-  errno = 0;
-  FUNC(cos) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (cos_towardzero);
   RUN_TEST_LOOP_f_f (cos, cos_towardzero_test_data, FE_TOWARDZERO);
   END (cos_towardzero);
@@ -7015,12 +6829,6 @@ static const struct test_f_f_data cos_downward_test_data[] =
 static void
 cos_test_downward (void)
 {
-  errno = 0;
-  FUNC(cos) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (cos_downward);
   RUN_TEST_LOOP_f_f (cos, cos_downward_test_data, FE_DOWNWARD);
   END (cos_downward);
@@ -7046,12 +6854,6 @@ static const struct test_f_f_data cos_upward_test_data[] =
 static void
 cos_test_upward (void)
 {
-  errno = 0;
-  FUNC(cos) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (cos_upward);
   RUN_TEST_LOOP_f_f (cos, cos_upward_test_data, FE_UPWARD);
   END (cos_upward);
@@ -7082,12 +6884,6 @@ static const struct test_f_f_data cosh_test_data[] =
 static void
 cosh_test (void)
 {
-  errno = 0;
-  FUNC(cosh) (0.7L);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (cosh);
   RUN_TEST_LOOP_f_f (cosh, cosh_test_data, );
   END (cosh);
@@ -7106,12 +6902,6 @@ static const struct test_f_f_data cosh_tonearest_test_data[] =
 static void
 cosh_test_tonearest (void)
 {
-  errno = 0;
-  FUNC(cosh) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (cosh_tonearest);
   RUN_TEST_LOOP_f_f (cosh, cosh_tonearest_test_data, FE_TONEAREST);
   END (cosh_tonearest);
@@ -7130,12 +6920,6 @@ static const struct test_f_f_data cosh_towardzero_test_data[] =
 static void
 cosh_test_towardzero (void)
 {
-  errno = 0;
-  FUNC(cosh) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (cosh_towardzero);
   RUN_TEST_LOOP_f_f (cosh, cosh_towardzero_test_data, FE_TOWARDZERO);
   END (cosh_towardzero);
@@ -7154,12 +6938,6 @@ static const struct test_f_f_data cosh_downward_test_data[] =
 static void
 cosh_test_downward (void)
 {
-  errno = 0;
-  FUNC(cosh) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (cosh_downward);
   RUN_TEST_LOOP_f_f (cosh, cosh_downward_test_data, FE_DOWNWARD);
   END (cosh_downward);
@@ -7178,12 +6956,6 @@ static const struct test_f_f_data cosh_upward_test_data[] =
 static void
 cosh_test_upward (void)
 {
-  errno = 0;
-  FUNC(cosh) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (cosh_upward);
   RUN_TEST_LOOP_f_f (cosh, cosh_upward_test_data, FE_UPWARD);
   END (cosh_upward);
@@ -7211,12 +6983,6 @@ static const struct test_cc_c_data cpow_test_data[] =
 static void
 cpow_test (void)
 {
-  errno = 0;
-  FUNC(cpow) (BUILD_COMPLEX (1, 0), BUILD_COMPLEX (0, 0));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (cpow);
   RUN_TEST_LOOP_cc_c (cpow, cpow_test_data, );
   END (cpow, complex);
@@ -7368,12 +7134,6 @@ static const struct test_c_c_data csin_test_data[] =
 static void
 csin_test (void)
 {
-  errno = 0;
-  FUNC(csin) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (csin);
   RUN_TEST_LOOP_c_c (csin, csin_test_data, );
   END (csin, complex);
@@ -7475,12 +7235,6 @@ static const struct test_c_c_data csinh_test_data[] =
 static void
 csinh_test (void)
 {
-  errno = 0;
-  FUNC(csinh) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (csinh);
   RUN_TEST_LOOP_c_c (csinh, csinh_test_data, );
   END (csinh, complex);
@@ -7602,12 +7356,6 @@ static const struct test_c_c_data csqrt_test_data[] =
 static void
 csqrt_test (void)
 {
-  errno = 0;
-  FUNC(csqrt) (BUILD_COMPLEX (-1, 0));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (csqrt);
   RUN_TEST_LOOP_c_c (csqrt, csqrt_test_data, );
   END (csqrt, complex);
@@ -7694,12 +7442,6 @@ static const struct test_c_c_data ctan_test_data[] =
 static void
 ctan_test (void)
 {
-  errno = 0;
-  FUNC(ctan) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (ctan);
   RUN_TEST_LOOP_c_c (ctan, ctan_test_data, );
   END (ctan, complex);
@@ -7724,12 +7466,6 @@ static const struct test_c_c_data ctan_tonearest_test_data[] =
 static void
 ctan_test_tonearest (void)
 {
-  errno = 0;
-  FUNC(ctan) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (ctan_tonearest);
   RUN_TEST_LOOP_c_c (ctan, ctan_tonearest_test_data, FE_TONEAREST);
   END (ctan_tonearest, complex);
@@ -7754,12 +7490,6 @@ static const struct test_c_c_data ctan_towardzero_test_data[] =
 static void
 ctan_test_towardzero (void)
 {
-  errno = 0;
-  FUNC(ctan) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (ctan_towardzero);
   RUN_TEST_LOOP_c_c (ctan, ctan_towardzero_test_data, FE_TOWARDZERO);
   END (ctan_towardzero, complex);
@@ -7784,12 +7514,6 @@ static const struct test_c_c_data ctan_downward_test_data[] =
 static void
 ctan_test_downward (void)
 {
-  errno = 0;
-  FUNC(ctan) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (ctan_downward);
   RUN_TEST_LOOP_c_c (ctan, ctan_downward_test_data, FE_DOWNWARD);
   END (ctan_downward, complex);
@@ -7814,12 +7538,6 @@ static const struct test_c_c_data ctan_upward_test_data[] =
 static void
 ctan_test_upward (void)
 {
-  errno = 0;
-  FUNC(ctan) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (ctan_upward);
   RUN_TEST_LOOP_c_c (ctan, ctan_upward_test_data, FE_UPWARD);
   END (ctan_upward, complex);
@@ -7908,12 +7626,6 @@ static const struct test_c_c_data ctanh_test_data[] =
 static void
 ctanh_test (void)
 {
-  errno = 0;
-  FUNC(ctanh) (BUILD_COMPLEX (0, 0));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (ctanh);
   RUN_TEST_LOOP_c_c (ctanh, ctanh_test_data, );
   END (ctanh, complex);
@@ -7938,12 +7650,6 @@ static const struct test_c_c_data ctanh_tonearest_test_data[] =
 static void
 ctanh_test_tonearest (void)
 {
-  errno = 0;
-  FUNC(ctanh) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (ctanh_tonearest);
   RUN_TEST_LOOP_c_c (ctanh, ctanh_tonearest_test_data, FE_TONEAREST);
   END (ctanh_tonearest, complex);
@@ -7968,12 +7674,6 @@ static const struct test_c_c_data ctanh_towardzero_test_data[] =
 static void
 ctanh_test_towardzero (void)
 {
-  errno = 0;
-  FUNC(ctanh) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (ctanh_towardzero);
   RUN_TEST_LOOP_c_c (ctanh, ctanh_towardzero_test_data, FE_TOWARDZERO);
   END (ctanh_towardzero, complex);
@@ -7998,12 +7698,6 @@ static const struct test_c_c_data ctanh_downward_test_data[] =
 static void
 ctanh_test_downward (void)
 {
-  errno = 0;
-  FUNC(ctanh) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (ctanh_downward);
   RUN_TEST_LOOP_c_c (ctanh, ctanh_downward_test_data, FE_DOWNWARD);
   END (ctanh_downward, complex);
@@ -8028,12 +7722,6 @@ static const struct test_c_c_data ctanh_upward_test_data[] =
 static void
 ctanh_test_upward (void)
 {
-  errno = 0;
-  FUNC(ctanh) (BUILD_COMPLEX (0.7L, 1.2L));
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (ctanh_upward);
   RUN_TEST_LOOP_c_c (ctanh, ctanh_upward_test_data, FE_UPWARD);
   END (ctanh_upward, complex);
@@ -8061,12 +7749,6 @@ static const struct test_f_f_data erf_test_data[] =
 static void
 erf_test (void)
 {
-  errno = 0;
-  FUNC(erf) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (erf);
   RUN_TEST_LOOP_f_f (erf, erf_test_data, );
   END (erf);
@@ -8105,12 +7787,6 @@ static const struct test_f_f_data erfc_test_data[] =
 static void
 erfc_test (void)
 {
-  errno = 0;
-  FUNC(erfc) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (erfc);
   RUN_TEST_LOOP_f_f (erfc, erfc_test_data, );
   END (erfc);
@@ -8156,12 +7832,6 @@ static const struct test_f_f_data exp_test_data[] =
 static void
 exp_test (void)
 {
-  errno = 0;
-  FUNC(exp) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (exp);
   RUN_TEST_LOOP_f_f (exp, exp_test_data, );
   END (exp);
@@ -8180,12 +7850,6 @@ static const struct test_f_f_data exp_tonearest_test_data[] =
 static void
 exp_test_tonearest (void)
 {
-  errno = 0;
-  FUNC(exp) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (exp_tonearest);
   RUN_TEST_LOOP_f_f (exp, exp_tonearest_test_data, FE_TONEAREST);
   END (exp_tonearest);
@@ -8204,12 +7868,6 @@ static const struct test_f_f_data exp_towardzero_test_data[] =
 static void
 exp_test_towardzero (void)
 {
-  errno = 0;
-  FUNC(exp) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (exp_towardzero);
   RUN_TEST_LOOP_f_f (exp, exp_towardzero_test_data, FE_TOWARDZERO);
   END (exp_towardzero);
@@ -8228,12 +7886,6 @@ static const struct test_f_f_data exp_downward_test_data[] =
 static void
 exp_test_downward (void)
 {
-  errno = 0;
-  FUNC(exp) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (exp_downward);
   RUN_TEST_LOOP_f_f (exp, exp_downward_test_data, FE_DOWNWARD);
   END (exp_downward);
@@ -8252,12 +7904,6 @@ static const struct test_f_f_data exp_upward_test_data[] =
 static void
 exp_test_upward (void)
 {
-  errno = 0;
-  FUNC(exp) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (exp_upward);
   RUN_TEST_LOOP_f_f (exp, exp_upward_test_data, FE_UPWARD);
   END (exp_upward);
@@ -8296,12 +7942,6 @@ static const struct test_f_f_data exp10_test_data[] =
 static void
 exp10_test (void)
 {
-  errno = 0;
-  FUNC(exp10) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (exp10);
   RUN_TEST_LOOP_f_f (exp10, exp10_test_data, );
   END (exp10);
@@ -8345,12 +7985,6 @@ static const struct test_f_f_data exp2_test_data[] =
 static void
 exp2_test (void)
 {
-  errno = 0;
-  FUNC(exp2) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (exp2);
   RUN_TEST_LOOP_f_f (exp2, exp2_test_data, );
   END (exp2);
@@ -8413,12 +8047,6 @@ static const struct test_f_f_data expm1_test_data[] =
 static void
 expm1_test (void)
 {
-  errno = 0;
-  FUNC(expm1) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (expm1);
   RUN_TEST_LOOP_f_f (expm1, expm1_test_data, );
   END (expm1);
@@ -9692,12 +9320,6 @@ static const struct test_ff_f_data fmod_test_data[] =
 static void
 fmod_test (void)
 {
-  errno = 0;
-  FUNC(fmod) (6.5, 2.3L);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (fmod);
   RUN_TEST_LOOP_ff_f (fmod, fmod_test_data, );
   END (fmod);
@@ -9772,13 +9394,6 @@ static const struct test_f_f1_data gamma_test_data[] =
 static void
 gamma_test (void)
 {
-  errno = 0;
-  FUNC(gamma) (1);
-
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (gamma);
   RUN_TEST_LOOP_f_f1 (gamma, gamma_test_data, , signgam);
   END (gamma);
@@ -9841,12 +9456,6 @@ static const struct test_ff_f_data hypot_test_data[] =
 static void
 hypot_test (void)
 {
-  errno = 0;
-  FUNC(hypot) (0.7L, 12.4L);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (hypot);
   RUN_TEST_LOOP_ff_f (hypot, hypot_test_data, );
   END (hypot);
@@ -10200,17 +9809,6 @@ static const struct test_f_f_data j0_test_data[] =
 static void
 j0_test (void)
 {
-  FLOAT s, c;
-  errno = 0;
-  FUNC (sincos) (0, &s, &c);
-  if (errno == ENOSYS)
-    /* Required function not implemented.  */
-    return;
-  FUNC(j0) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (j0);
   RUN_TEST_LOOP_f_f (j0, j0_test_data, );
   END (j0);
@@ -10251,17 +9849,6 @@ static const struct test_f_f_data j1_test_data[] =
 static void
 j1_test (void)
 {
-  FLOAT s, c;
-  errno = 0;
-  FUNC (sincos) (0, &s, &c);
-  if (errno == ENOSYS)
-    /* Required function not implemented.  */
-    return;
-  FUNC(j1) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (j1);
   RUN_TEST_LOOP_f_f (j1, j1_test_data, );
   END (j1);
@@ -10341,17 +9928,6 @@ static const struct test_if_f_data jn_test_data[] =
 static void
 jn_test (void)
 {
-  FLOAT s, c;
-  errno = 0;
-  FUNC (sincos) (0, &s, &c);
-  if (errno == ENOSYS)
-    /* Required function not implemented.  */
-    return;
-  FUNC(jn) (1, 1);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (jn);
   RUN_TEST_LOOP_if_f (jn, jn_test_data, );
   END (jn);
@@ -10413,12 +9989,6 @@ static const struct test_f_f1_data lgamma_test_data[] =
 static void
 lgamma_test (void)
 {
-  errno = 0;
-  FUNC(lgamma) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (lgamma);
   RUN_TEST_LOOP_f_f1 (lgamma, lgamma_test_data, , signgam);
   END (lgamma);
@@ -11307,11 +10877,6 @@ static const struct test_f_f_data log_test_data[] =
 static void
 log_test (void)
 {
-  errno = 0;
-  FUNC(log) (1);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
   START (log);
   RUN_TEST_LOOP_f_f (log, log_test_data, );
   END (log);
@@ -11346,12 +10911,6 @@ static const struct test_f_f_data log10_test_data[] =
 static void
 log10_test (void)
 {
-  errno = 0;
-  FUNC(log10) (1);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (log10);
   RUN_TEST_LOOP_f_f (log10, log10_test_data, );
   END (log10);
@@ -11382,12 +10941,6 @@ static const struct test_f_f_data log1p_test_data[] =
 static void
 log1p_test (void)
 {
-  errno = 0;
-  FUNC(log1p) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (log1p);
   RUN_TEST_LOOP_f_f (log1p, log1p_test_data, );
   END (log1p);
@@ -11420,12 +10973,6 @@ static const struct test_f_f_data log2_test_data[] =
 static void
 log2_test (void)
 {
-  errno = 0;
-  FUNC(log2) (1);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (log2);
   RUN_TEST_LOOP_f_f (log2, log2_test_data, );
   END (log2);
@@ -11493,13 +11040,6 @@ static const struct test_f_f_data logb_downward_test_data[] =
 static void
 logb_test_downward (void)
 {
-  errno = 0;
-
-  FUNC(logb) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (logb_downward);
   RUN_TEST_LOOP_f_f (logb, logb_downward_test_data, FE_DOWNWARD);
   END (logb_downward);
@@ -12660,12 +12200,6 @@ static void
 pow_test (void)
 {
 
-  errno = 0;
-  FUNC(pow) (0, 0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (pow);
   RUN_TEST_LOOP_ff_f (pow, pow_test_data, );
   END (pow);
@@ -12683,12 +12217,6 @@ static const struct test_ff_f_data pow_tonearest_test_data[] =
 static void
 pow_test_tonearest (void)
 {
-  errno = 0;
-  FUNC(pow) (0, 0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (pow_tonearest);
   RUN_TEST_LOOP_ff_f (pow, pow_tonearest_test_data, FE_TONEAREST);
   END (pow_tonearest);
@@ -12706,12 +12234,6 @@ static const struct test_ff_f_data pow_towardzero_test_data[] =
 static void
 pow_test_towardzero (void)
 {
-  errno = 0;
-  FUNC(pow) (0, 0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (pow_towardzero);
   RUN_TEST_LOOP_ff_f (pow, pow_towardzero_test_data, FE_TOWARDZERO);
   END (pow_towardzero);
@@ -12729,12 +12251,6 @@ static const struct test_ff_f_data pow_downward_test_data[] =
 static void
 pow_test_downward (void)
 {
-  errno = 0;
-  FUNC(pow) (0, 0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (pow_downward);
   RUN_TEST_LOOP_ff_f (pow, pow_downward_test_data, FE_DOWNWARD);
   END (pow_downward);
@@ -12752,12 +12268,6 @@ static const struct test_ff_f_data pow_upward_test_data[] =
 static void
 pow_test_upward (void)
 {
-  errno = 0;
-  FUNC(pow) (0, 0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (pow_upward);
   RUN_TEST_LOOP_ff_f (pow, pow_upward_test_data, FE_UPWARD);
   END (pow_upward);
@@ -12796,12 +12306,6 @@ static const struct test_ff_f_data remainder_test_data[] =
 static void
 remainder_test (void)
 {
-  errno = 0;
-  FUNC(remainder) (1.625, 1.0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (remainder);
   RUN_TEST_LOOP_ff_f (remainder, remainder_test_data, );
   END (remainder);
@@ -12832,12 +12336,6 @@ remquo_test (void)
   /* x is needed.  */
   int x;
 
-  errno = 0;
-  FUNC(remquo) (1.625, 1.0, &x);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (remquo);
   RUN_TEST_LOOP_ffI_f1 (remquo, remquo_test_data, , x);
   END (remquo);
@@ -13639,12 +13137,6 @@ static const struct test_f_f_data sin_test_data[] =
 static void
 sin_test (void)
 {
-  errno = 0;
-  FUNC(sin) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (sin);
   RUN_TEST_LOOP_f_f (sin, sin_test_data, );
   END (sin);
@@ -13670,12 +13162,6 @@ static const struct test_f_f_data sin_tonearest_test_data[] =
 static void
 sin_test_tonearest (void)
 {
-  errno = 0;
-  FUNC(sin) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (sin_tonearest);
   RUN_TEST_LOOP_f_f (sin, sin_tonearest_test_data, FE_TONEAREST);
   END (sin_tonearest);
@@ -13701,12 +13187,6 @@ static const struct test_f_f_data sin_towardzero_test_data[] =
 static void
 sin_test_towardzero (void)
 {
-  errno = 0;
-  FUNC(sin) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (sin_towardzero);
   RUN_TEST_LOOP_f_f (sin, sin_towardzero_test_data, FE_TOWARDZERO);
   END (sin_towardzero);
@@ -13732,12 +13212,6 @@ static const struct test_f_f_data sin_downward_test_data[] =
 static void
 sin_test_downward (void)
 {
-  errno = 0;
-  FUNC(sin) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (sin_downward);
   RUN_TEST_LOOP_f_f (sin, sin_downward_test_data, FE_DOWNWARD);
   END (sin_downward);
@@ -13763,12 +13237,6 @@ static const struct test_f_f_data sin_upward_test_data[] =
 static void
 sin_test_upward (void)
 {
-  errno = 0;
-  FUNC(sin) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (sin_upward);
   RUN_TEST_LOOP_f_f (sin, sin_upward_test_data, FE_UPWARD);
   END (sin_upward);
@@ -13845,12 +13313,6 @@ sincos_test (void)
 {
   FLOAT sin_res, cos_res;
 
-  errno = 0;
-  FUNC(sincos) (0, &sin_res, &cos_res);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (sincos);
   RUN_TEST_LOOP_sincos (sincos_test_data, , sin_res, cos_res);
   END (sincos);
@@ -13876,12 +13338,6 @@ static const struct test_f_f_data sinh_test_data[] =
 static void
 sinh_test (void)
 {
-  errno = 0;
-  FUNC(sinh) (0.7L);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (sinh);
   RUN_TEST_LOOP_f_f (sinh, sinh_test_data, );
   END (sinh);
@@ -13900,12 +13356,6 @@ static const struct test_f_f_data sinh_tonearest_test_data[] =
 static void
 sinh_test_tonearest (void)
 {
-  errno = 0;
-  FUNC(sinh) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (sinh_tonearest);
   RUN_TEST_LOOP_f_f (sinh, sinh_tonearest_test_data, FE_TONEAREST);
   END (sinh_tonearest);
@@ -13924,12 +13374,6 @@ static const struct test_f_f_data sinh_towardzero_test_data[] =
 static void
 sinh_test_towardzero (void)
 {
-  errno = 0;
-  FUNC(sinh) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (sinh_towardzero);
   RUN_TEST_LOOP_f_f (sinh, sinh_towardzero_test_data, FE_TOWARDZERO);
   END (sinh_towardzero);
@@ -13948,12 +13392,6 @@ static const struct test_f_f_data sinh_downward_test_data[] =
 static void
 sinh_test_downward (void)
 {
-  errno = 0;
-  FUNC(sinh) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (sinh_downward);
   RUN_TEST_LOOP_f_f (sinh, sinh_downward_test_data, FE_DOWNWARD);
   END (sinh_downward);
@@ -13972,12 +13410,6 @@ static const struct test_f_f_data sinh_upward_test_data[] =
 static void
 sinh_test_upward (void)
 {
-  errno = 0;
-  FUNC(sinh) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (sinh_upward);
   RUN_TEST_LOOP_f_f (sinh, sinh_upward_test_data, FE_UPWARD);
   END (sinh_upward);
@@ -14011,12 +13443,6 @@ static const struct test_f_f_data sqrt_test_data[] =
 static void
 sqrt_test (void)
 {
-  errno = 0;
-  FUNC(sqrt) (1);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (sqrt);
   RUN_TEST_LOOP_f_f (sqrt, sqrt_test_data, );
   END (sqrt);
@@ -14090,12 +13516,6 @@ static const struct test_f_f_data tan_test_data[] =
 static void
 tan_test (void)
 {
-  errno = 0;
-  FUNC(tan) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (tan);
   RUN_TEST_LOOP_f_f (tan, tan_test_data, );
   END (tan);
@@ -14121,12 +13541,6 @@ static const struct test_f_f_data tan_tonearest_test_data[] =
 static void
 tan_test_tonearest (void)
 {
-  errno = 0;
-  FUNC(tan) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (tan_tonearest);
   RUN_TEST_LOOP_f_f (tan, tan_tonearest_test_data, FE_TONEAREST);
   END (tan_tonearest);
@@ -14152,12 +13566,6 @@ static const struct test_f_f_data tan_towardzero_test_data[] =
 static void
 tan_test_towardzero (void)
 {
-  errno = 0;
-  FUNC(tan) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (tan_towardzero);
   RUN_TEST_LOOP_f_f (tan, tan_towardzero_test_data, FE_TOWARDZERO);
   END (tan_towardzero);
@@ -14183,12 +13591,6 @@ static const struct test_f_f_data tan_downward_test_data[] =
 static void
 tan_test_downward (void)
 {
-  errno = 0;
-  FUNC(tan) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (tan_downward);
   RUN_TEST_LOOP_f_f (tan, tan_downward_test_data, FE_DOWNWARD);
   END (tan_downward);
@@ -14214,12 +13616,6 @@ static const struct test_f_f_data tan_upward_test_data[] =
 static void
 tan_test_upward (void)
 {
-  errno = 0;
-  FUNC(tan) (0);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (tan_upward);
   RUN_TEST_LOOP_f_f (tan, tan_upward_test_data, FE_UPWARD);
   END (tan_upward);
@@ -14252,12 +13648,6 @@ static const struct test_f_f_data tanh_test_data[] =
 static void
 tanh_test (void)
 {
-  errno = 0;
-  FUNC(tanh) (0.7L);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (tanh);
   RUN_TEST_LOOP_f_f (tanh, tanh_test_data, );
   END (tanh);
@@ -14790,12 +14180,6 @@ static const struct test_f_f_data tgamma_test_data[] =
 static void
 tgamma_test (void)
 {
-  errno = 0;
-  FUNC(tgamma) (1);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (tgamma);
   RUN_TEST_LOOP_f_f (tgamma, tgamma_test_data, );
   END (tgamma);
@@ -14963,17 +14347,6 @@ static const struct test_f_f_data y0_test_data[] =
 static void
 y0_test (void)
 {
-  FLOAT s, c;
-  errno = 0;
-  FUNC (sincos) (0, &s, &c);
-  if (errno == ENOSYS)
-    /* Required function not implemented.  */
-    return;
-  FUNC(y0) (1);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (y0);
   RUN_TEST_LOOP_f_f (y0, y0_test_data, );
   END (y0);
@@ -15027,17 +14400,6 @@ static const struct test_f_f_data y1_test_data[] =
 static void
 y1_test (void)
 {
-  FLOAT s, c;
-  errno = 0;
-  FUNC (sincos) (0, &s, &c);
-  if (errno == ENOSYS)
-    /* Required function not implemented.  */
-    return;
-  FUNC(y1) (1);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (y1);
   RUN_TEST_LOOP_f_f (y1, y1_test_data, );
   END (y1);
@@ -15106,17 +14468,6 @@ static const struct test_if_f_data yn_test_data[] =
 static void
 yn_test (void)
 {
-  FLOAT s, c;
-  errno = 0;
-  FUNC (sincos) (0, &s, &c);
-  if (errno == ENOSYS)
-    /* Required function not implemented.  */
-    return;
-  FUNC(yn) (1, 1);
-  if (errno == ENOSYS)
-    /* Function not implemented.  */
-    return;
-
   START (yn);
   RUN_TEST_LOOP_if_f (yn, yn_test_data, );
   END (yn);

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]